Skip to content

Commit

Permalink
πŸš‘ DB host wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
Mario-SO committed Dec 18, 2024
1 parent 554c9ad commit 947db14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ x-common-environment: &common-environment
BASE_URL: https://prod.api.streameth.org
PLAYER_URL: https://prod.player.streameth.org
DB_PASSWORD_FILE: /run/secrets/db-password
DB_HOST: mongodb
DB_HOST: prod_mongodb
DB_USER: root
DB_NAME: streameth-prod
JWT_SECRET_FILE: /run/secrets/jwt-secret
Expand Down Expand Up @@ -165,7 +165,7 @@ services:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD_FILE: /run/secrets/db-password
healthcheck:
test: echo 'db.runCommand("ping").ok' | mongosh localhost:27017/streameth-prod --quiet
test: echo 'db.runCommand("ping").ok' | mongosh localhost:27017/test --quiet
interval: 10s
timeout: 10s
retries: 5
Expand Down

0 comments on commit 947db14

Please sign in to comment.