mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-09 22:41:03 +01:00
Added conditions
This commit is contained in:
parent
f8644515fa
commit
d6fe811498
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user