Skip to content
This repository has been archived by the owner on Nov 14, 2019. It is now read-only.

Update engine start config #52

Merged
merged 4 commits into from
Jun 10, 2019
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions src/docker-command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,10 @@ export default abstract class extends Command {
'com.docker.stack.namespace': options.name
},
Env: [
'MESG_SERVER_ADDRESS=:50052',
`MESG_LOG_FORMAT=${options.format}`,
`MESG_LOG_LEVEL=${options.level}`,
`MESG_LOG_FORCECOLORS=${options.colors}`,
`MESG_CORE_NAME=${options.name}`,
'MESG_CORE_PATH=/mesg',
`MESG_NAME=${options.name}`,
],
Mounts: [{
Source: '/var/run/docker.sock',
Expand All @@ -113,7 +111,10 @@ export default abstract class extends Command {
}],
},
Networks: [
{Target: network.id, Alias: 'core'},
{
Target: network.id,
Alias: options.name,
},
]
},
EndpointSpec: {
Expand Down