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
|
||||
ports:
|
||||
- "8000:8000"
|
||||
depends_on:
|
||||
setup:
|
||||
condition: service_completed_successfully
|
||||
|
||||
stator:
|
||||
<<: *takahe-common
|
||||
command: ["/takahe/manage.py", "runstator"]
|
||||
depends_on:
|
||||
setup:
|
||||
condition: service_completed_successfully
|
||||
|
||||
setup:
|
||||
<<: *takahe-common
|
||||
|
|
Loading…
Reference in New Issue