fix: docker-compose startup order to prevent race condition
Some checks are pending
Deploy Elmeg / deploy (push) Waiting to run
Some checks are pending
Deploy Elmeg / deploy (push) Waiting to run
This commit is contained in:
parent
b67d4929a4
commit
2b64a79edf
1 changed files with 2 additions and 1 deletions
|
|
@ -68,7 +68,8 @@ services:
|
||||||
- NEXT_PUBLIC_API_URL=/api
|
- NEXT_PUBLIC_API_URL=/api
|
||||||
- INTERNAL_API_URL=http://backend:8000
|
- INTERNAL_API_URL=http://backend:8000
|
||||||
depends_on:
|
depends_on:
|
||||||
- backend
|
backend:
|
||||||
|
condition: service_healthy
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
- elmeg
|
- elmeg
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue