remove monitor network from periphery install

This commit is contained in:
mbecker20
2022-04-13 05:05:32 -07:00
parent f444920c69
commit 92dae9e7e0
+1 -1
View File
@@ -73,7 +73,7 @@ async function deployCore({ core, mongo }: Config) {
const { name, secretVolume, port, restart, sysroot } = core!;
const nameConfig = `--name ${toDashedName(name)}`;
const volumes = `-v ${secretVolume}:/secrets -v /var/run/docker.sock:/var/run/docker.sock -v ${sysroot}:/monitor-root`;
const network = `-p ${port}:${DEFAULT_PORT} --network ${DOCKER_NETWORK}`;
const network = `-p ${port}:${DEFAULT_PORT}`;
const env = `-e MONGO_URL=${mongo?.url} -e SYSROOT=${trailingSlash(core?.sysroot!)}`;
const restartArg = `--restart ${restart}`;
const command = `docker run -d ${nameConfig} ${volumes} ${network} ${env} ${restartArg} ${CORE_IMAGE}`;