From 73f73baafbcafd73133d9c89c50c094602ab91a8 Mon Sep 17 00:00:00 2001 From: kenshin-samourai Date: Fri, 26 Feb 2021 15:29:56 +0100 Subject: [PATCH] reference db container by its ip address --- docker/my-dojo/node/keys.index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/my-dojo/node/keys.index.js b/docker/my-dojo/node/keys.index.js index 00132b0..2131529 100644 --- a/docker/my-dojo/node/keys.index.js +++ b/docker/my-dojo/node/keys.index.js @@ -66,7 +66,7 @@ module.exports = { // Password pass: process.env.MYSQL_PASSWORD, // IP address - host: 'db', + host: process.env.NET_DOJO_MYSQL_IPV4, // TCP port port: 3306, // Db name