More fixes
gitea/salix/dev Something is wrong with the build of this commit Details

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

View File

@ -421,7 +421,7 @@ async function docker() {
if (argv['random']) {
let inspect = await execP(`docker inspect -f "{{json .NetworkSettings}}" ${containerId}`);
let netSettings = JSON.parse(inspect);
let netSettings = JSON.parse(inspect.stdout);
dbConf.host = netSettings.IPAddress;
dbConf.port = netSettings.Ports['3306/tcp'][0]['HostPort'];