Previous commit fix
gitea/salix/dev There was a failure building this commit
Details
gitea/salix/dev There was a failure building this commit
Details
This commit is contained in:
parent
b2eab3ab51
commit
8d369d26f8
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue