From 947db14acc164deb7dd758e092e1163fb7188bdf Mon Sep 17 00:00:00 2001 From: Mario-SO Date: Wed, 18 Dec 2024 15:30:44 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=91=20DB=20host=20wrong?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.prod.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index b2bcce176..4f64eb286 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -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 @@ -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