diff --git a/gulpfile.js b/gulpfile.js index 78c90e4bc..60d594b5b 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -423,7 +423,7 @@ async function docker() { let inspect = await execP(`docker inspect -f "{{json .NetworkSettings}}" ${containerId}`); let netSettings = JSON.parse(inspect.stdout); - dbConf.host = netSettings.IPAddress; + dbConf.host = netSettings.Gateway; dbConf.port = netSettings.Ports['3306/tcp'][0]['HostPort']; }