Do not enable tls if not in swarm mode.
This commit is contained in:
parent
77c4c59ff1
commit
ced31ea97b
|
@ -2,6 +2,7 @@
|
|||
{% if docker_log_to_journal %}
|
||||
"log-driver": "journald",
|
||||
{% endif %}
|
||||
{% if docker_swarm %}
|
||||
{% if docker_tls_api %}
|
||||
"tls": true,
|
||||
"tlscacert": "{{ docker_tls_ca }}",
|
||||
|
@ -13,6 +14,7 @@
|
|||
"tlsverify": false,
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% if docker_prometheus_metrics %}
|
||||
"metrics-addr" : "{{ docker_prometheus_host }}:9323",
|
||||
"experimental" : true,
|
||||
|
|
Loading…
Reference in New Issue