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