Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
coco
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ops
coco
Commits
8db5dd32
Commit
8db5dd32
authored
Jan 16, 2019
by
ibuler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Update] 修改docker file
parent
f57ae6e7
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
Dockerfile
Dockerfile
+1
-1
conf.py
coco/conf.py
+1
-1
config_example.yml
config_example.yml
+2
-2
requirements.txt
requirements/requirements.txt
+1
-1
No files found.
Dockerfile
View file @
8db5dd32
...
@@ -15,7 +15,7 @@ COPY . /opt/coco
...
@@ -15,7 +15,7 @@ COPY . /opt/coco
VOLUME
/opt/coco/logs
VOLUME
/opt/coco/logs
VOLUME
/opt/coco/keys
VOLUME
/opt/coco/keys
RUN
cp
conf
_docker.py conf.py
RUN
cp
conf
ig_example.yml config.yml
EXPOSE
2222
EXPOSE
2222
CMD
python run_server.py
CMD
python run_server.py
coco/conf.py
View file @
8db5dd32
...
@@ -316,7 +316,7 @@ host_key_path = os.path.abspath(
...
@@ -316,7 +316,7 @@ host_key_path = os.path.abspath(
defaults
=
{
defaults
=
{
'NAME'
:
socket
.
gethostname
(),
'NAME'
:
socket
.
gethostname
(),
'CORE_HOST'
:
'http://127.0.0.1:8080'
,
'CORE_HOST'
:
'http://127.0.0.1:8080'
,
'BOOTSTRAP_TOKEN'
:
os
.
environ
.
get
(
"BOOTSTRAP_TOKEN"
)
or
'PleaseChangeMe
'
,
'BOOTSTRAP_TOKEN'
:
'
'
,
'ROOT_PATH'
:
root_path
,
'ROOT_PATH'
:
root_path
,
'DEBUG'
:
True
,
'DEBUG'
:
True
,
'BIND_HOST'
:
'0.0.0.0'
,
'BIND_HOST'
:
'0.0.0.0'
,
...
...
config_example.yml
View file @
8db5dd32
...
@@ -6,7 +6,7 @@ CORE_HOST: http://127.0.0.1:8080
...
@@ -6,7 +6,7 @@ CORE_HOST: http://127.0.0.1:8080
# Bootstrap Token, 预共享秘钥, 用来注册coco使用的service account和terminal
# Bootstrap Token, 预共享秘钥, 用来注册coco使用的service account和terminal
# 请和jumpserver 配置文件中保持一致,注册完成后可以删除
# 请和jumpserver 配置文件中保持一致,注册完成后可以删除
BOOTSTRAP_TOKEN
:
<
ChangeIT
>
BOOTSTRAP_TOKEN
:
<
PleasgeChangeSameWithJumpserver
>
# 启动时绑定的ip, 默认 0.0.0.0
# 启动时绑定的ip, 默认 0.0.0.0
# BIND_HOST: 0.0.0.0
# BIND_HOST: 0.0.0.0
...
@@ -22,7 +22,7 @@ BOOTSTRAP_TOKEN: <ChangeIT>
...
@@ -22,7 +22,7 @@ BOOTSTRAP_TOKEN: <ChangeIT>
# ACCESS_KEY: null
# ACCESS_KEY: null
# ACCESS KEY 保存的地址, 默认注册后会保存到该文件中
# ACCESS KEY 保存的地址, 默认注册后会保存到该文件中
# ACCESS_KEY_
STORE:
keys/.access_key
# ACCESS_KEY_
FILE: data/
keys/.access_key
# 加密密钥
# 加密密钥
# SECRET_KEY: null
# SECRET_KEY: null
...
...
requirements/requirements.txt
View file @
8db5dd32
...
@@ -19,7 +19,7 @@ itsdangerous==0.24
...
@@ -19,7 +19,7 @@ itsdangerous==0.24
Jinja2==2.10
Jinja2==2.10
jmespath==0.9.3
jmespath==0.9.3
jms-storage==0.0.20
jms-storage==0.0.20
jumpserver-python-sdk==0.0.5
4
jumpserver-python-sdk==0.0.5
5
MarkupSafe==1.0
MarkupSafe==1.0
oss2==2.4.0
oss2==2.4.0
paramiko==2.4.1
paramiko==2.4.1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment