diff --git a/myt-run.js b/myt-run.js index 42880eb..dd53f0f 100644 --- a/myt-run.js +++ b/myt-run.js @@ -126,7 +126,9 @@ class Run extends Command { }); if (opts.ci) { - dbConfig.host = netSettings.Networks[networkName].IPAddress; + dbConfig.host = network + ? netSettings.Networks[network].IPAddress + : netSettings.Gateway; dbConfig.port = 3306; } else dbConfig.port = netSettings.Ports['3306/tcp'][0].HostPort; diff --git a/package.json b/package.json index 0aac60e..e649d4c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@verdnatura/myt", - "version": "1.5.32", + "version": "1.5.33", "author": "Verdnatura Levante SL", "description": "MySQL version control", "license": "GPL-3.0",