add if for start_period
This commit is contained in:
parent
29bfb91727
commit
151a23a570
@ -177,6 +177,7 @@ services:
|
|||||||
{% if container.healthcheck.retries is defined %}
|
{% if container.healthcheck.retries is defined %}
|
||||||
retries: {{ container.healthcheck.retries }}
|
retries: {{ container.healthcheck.retries }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if container.healthcheck.start_period is defined %}
|
||||||
start_period: {{ container.healthcheck.start_period }}
|
start_period: {{ container.healthcheck.start_period }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if container.deploy.resources.reservations.devices is defined %}
|
{% if container.deploy.resources.reservations.devices is defined %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user