More fixes
gitea/salix/dev This commit looks good Details

This commit is contained in:
Juan Ferrer 2019-08-06 14:45:45 +02:00
parent 967ee6108c
commit bdcdb06a1b
1 changed files with 1 additions and 1 deletions

View File

@ -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'];
}