Merge branch 'dev' of https://github.com/gjmzj/kubeasz into dev

pull/453/head
gjmzj 2019-01-25 21:31:25 +08:00
commit 6ac413e9de
2 changed files with 8 additions and 0 deletions

View File

@ -12,3 +12,6 @@ LOG_MAX_FILE: 3
# docker容器存储目录 # docker容器存储目录
STORAGE_DIR: "/var/lib/docker" STORAGE_DIR: "/var/lib/docker"
# 开启Restful API
ENABLE_REMOTE_API: false

View File

@ -8,4 +8,9 @@
"max-file": "{{ LOG_MAX_FILE }}" "max-file": "{{ LOG_MAX_FILE }}"
}, },
"data-root": "{{ STORAGE_DIR }}" "data-root": "{{ STORAGE_DIR }}"
{% if ENABLE_REMOTE_API %}
, "hosts": ["tcp://0.0.0.0:2376", "unix:///var/run/docker.sock"]
{% endif %}
} }