mirror of
https://github.com/moghtech/komodo.git
synced 2026-05-12 23:38:53 -05:00
remove monitor network from periphery install
This commit is contained in:
@@ -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}`;
|
||||
|
||||
Reference in New Issue
Block a user