Host change to docker service name

This commit is contained in:
NyxiumYuuki 2021-06-05 00:30:39 +02:00
parent fa14a1c149
commit 785560b666
3 changed files with 6 additions and 4 deletions

View file

@ -1,7 +1,8 @@
const config = {
// paramètres de connexion à la base de données
mongodbDatabase: 'chat',
mongodbHost: 'mongodb://127.0.0.1:27017/',
mongodbHost: 'mongodb://mongodb-authentication:27017/',
// mongodbHost: 'mongodb://127.0.0.1:27017/',
charset: 'utf8',
mongodbLogin: '',
mongodbPassword: '',