Added conditions

This commit is contained in:
Kevin Veen-Birkenbach 2024-01-05 20:44:43 +01:00
parent f8644515fa
commit d6fe811498

View File

@ -50,7 +50,9 @@ services:
{% include 'templates/docker-container-networks.yml.j2' %}
{% include 'templates/docker-container-depends-on-also-database.yml.j2' %}
cache:
condition: service_started
seeder:
condition: service_started
labels:
- autoheal=true
healthcheck:
@ -75,7 +77,9 @@ services:
{% include 'templates/docker-container-networks.yml.j2' %}
{% include 'templates/docker-container-depends-on-also-database.yml.j2' %}
cache:
condition: service_started
seeder:
condition: service_started
cron:
<<: *app
@ -83,7 +87,9 @@ services:
{% include 'templates/docker-container-networks.yml.j2' %}
{% include 'templates/docker-container-depends-on-also-database.yml.j2' %}
cache:
condition: service_started
seeder:
condition: service_started
seeder:
<<: *app