Wait setup to complete before starting web and stator containers

pull/611/head
Humberto Rocha 2023-07-17 10:18:18 -04:00
rodzic 188e5a2446
commit 0945a75466
1 zmienionych plików z 6 dodań i 0 usunięć

Wyświetl plik

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