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-networks.yml.j2' %}
|
||||||
{% include 'templates/docker-container-depends-on-also-database.yml.j2' %}
|
{% include 'templates/docker-container-depends-on-also-database.yml.j2' %}
|
||||||
cache:
|
cache:
|
||||||
|
condition: service_started
|
||||||
seeder:
|
seeder:
|
||||||
|
condition: service_started
|
||||||
labels:
|
labels:
|
||||||
- autoheal=true
|
- autoheal=true
|
||||||
healthcheck:
|
healthcheck:
|
||||||
@ -75,7 +77,9 @@ services:
|
|||||||
{% include 'templates/docker-container-networks.yml.j2' %}
|
{% include 'templates/docker-container-networks.yml.j2' %}
|
||||||
{% include 'templates/docker-container-depends-on-also-database.yml.j2' %}
|
{% include 'templates/docker-container-depends-on-also-database.yml.j2' %}
|
||||||
cache:
|
cache:
|
||||||
|
condition: service_started
|
||||||
seeder:
|
seeder:
|
||||||
|
condition: service_started
|
||||||
|
|
||||||
cron:
|
cron:
|
||||||
<<: *app
|
<<: *app
|
||||||
@ -83,7 +87,9 @@ services:
|
|||||||
{% include 'templates/docker-container-networks.yml.j2' %}
|
{% include 'templates/docker-container-networks.yml.j2' %}
|
||||||
{% include 'templates/docker-container-depends-on-also-database.yml.j2' %}
|
{% include 'templates/docker-container-depends-on-also-database.yml.j2' %}
|
||||||
cache:
|
cache:
|
||||||
|
condition: service_started
|
||||||
seeder:
|
seeder:
|
||||||
|
condition: service_started
|
||||||
|
|
||||||
seeder:
|
seeder:
|
||||||
<<: *app
|
<<: *app
|
||||||
|
Loading…
Reference in New Issue
Block a user