From 52f13387c1b43f12ba336b2508a0f833084a43b4 Mon Sep 17 00:00:00 2001 From: NyxiumYuuki Date: Fri, 28 May 2021 08:56:52 +0200 Subject: [PATCH] Host changed to service name for the docker compose --- backend/service-authentication/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/service-authentication/config.js b/backend/service-authentication/config.js index ad36165..4e951d0 100644 --- a/backend/service-authentication/config.js +++ b/backend/service-authentication/config.js @@ -1,7 +1,7 @@ const config = { // paramètres de connexion à la base de données mongodbDatabase: 'chat', - mongodbHost: 'mongodb://localhost:27017/', + mongodbHost: 'mongodb://mongodb-authentication:27017/', charset: 'utf8', mongodbLogin: '', mongodbPassword: '',