Skip to content

Commit

Permalink
build(docker): add depends_on
Browse files Browse the repository at this point in the history
  • Loading branch information
schmolldechse committed Mar 9, 2025
1 parent ac9206a commit 52f7e63
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ services:
restart: always
ports: [ "8000:8000" ]
networks: [ "navigator-network" ]
depends_on:
- navigator-mongodb
- navigator-postgres
environment:
MONGO_URL: ${MONGO_URL}
AUTH_SECRET: ${AUTH_SECRET}
Expand All @@ -27,6 +30,8 @@ services:
image: ghcr.io/schmolldechse/navigator-daemon:latest
restart: on-failure
networks: [ "navigator-network" ]
depends_on:
- navigator-mongodb
environment:
MONGO_URL: ${MONGO_URL}

Expand Down

0 comments on commit 52f7e63

Please sign in to comment.