the ip is now available in the appdb

This commit is contained in:
Girish Ramakrishnan
2020-12-03 11:48:25 -08:00
parent 9789ae3374
commit ce86cb892d
3 changed files with 52 additions and 19 deletions

View File

@@ -353,7 +353,7 @@ function createSubcontainer(app, name, cmd, options, callback) {
}
};
} else {
containerOptions.HostConfig.NetworkMode = `container:${app.containerId}`;
containerOptions.HostConfig.NetworkMode = `container:${app.containerId}`; // scheduler containers must have same IP as app for various addon auth
}
var capabilities = manifest.capabilities || [];