escape test with quotes, make interval and timeout optional
This commit is contained in:
parent
b8e5485956
commit
4642c4a72b
@ -161,9 +161,13 @@ services:
|
||||
{% endif %}
|
||||
{% if container.healthcheck is defined %}
|
||||
healthcheck:
|
||||
test: {{ container.healthcheck.test }}
|
||||
test: "{{ container.healthcheck.test }}"
|
||||
{% if container.healthcheck.interval is defined %}
|
||||
interval: {{ container.healthcheck.interval }}
|
||||
{% endif %}
|
||||
{% if container.healthcheck.timeout is defined %}
|
||||
timeout: {{ container.healthcheck.timeout }}
|
||||
{% endif %}
|
||||
{% if container.healthcheck.retries is defined %}
|
||||
retries: {{ container.healthcheck.retries }}
|
||||
{% endif %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user