mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-21 23:01:00 +00:00
Wait setup to complete before starting web and stator containers (#611)
This commit is contained in:
parent
188e5a2446
commit
d6cdcb1d83
1 changed files with 6 additions and 0 deletions
|
@ -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 a new issue