Wait setup to complete before starting web and stator containers (#611)
This commit is contained in:
parent
188e5a2446
commit
d6cdcb1d83
|
@ -56,10 +56,16 @@ services:
|
||||||
start_period: 15s
|
start_period: 15s
|
||||||
ports:
|
ports:
|
||||||
- "8000:8000"
|
- "8000:8000"
|
||||||
|
depends_on:
|
||||||
|
setup:
|
||||||
|
condition: service_completed_successfully
|
||||||
|
|
||||||
stator:
|
stator:
|
||||||
<<: *takahe-common
|
<<: *takahe-common
|
||||||
command: ["/takahe/manage.py", "runstator"]
|
command: ["/takahe/manage.py", "runstator"]
|
||||||
|
depends_on:
|
||||||
|
setup:
|
||||||
|
condition: service_completed_successfully
|
||||||
|
|
||||||
setup:
|
setup:
|
||||||
<<: *takahe-common
|
<<: *takahe-common
|
||||||
|
|
Loading…
Reference in New Issue