Wait setup to complete before starting web and stator containers (#611)

This commit is contained in:
Humberto Rocha 2023-07-17 11:31:21 -04:00 committed by GitHub
parent 188e5a2446
commit d6cdcb1d83
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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