Previous commit fix
gitea/salix/dev There was a failure building this commit Details

This commit is contained in:
Juan Ferrer 2019-08-06 14:20:23 +02:00
parent b2eab3ab51
commit 8d369d26f8
1 changed files with 1 additions and 1 deletions

View File

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