mirror of https://github.com/easzlab/kubeasz.git
Merge branch 'dev' of https://github.com/gjmzj/kubeasz into dev
commit
6ac413e9de
|
@ -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
|
||||||
|
|
|
@ -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 %}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue