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

Commit

Permalink
Merge pull request #52 from mesg-foundation/engine-start-config
Browse files Browse the repository at this point in the history
Update engine start config
  • Loading branch information
antho1404 authored Jun 10, 2019
2 parents efbb719 + fa52892 commit 697bff3
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/docker-command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,25 +95,26 @@ 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',
Target: '/var/run/docker.sock',
Type: 'bind',
}, {
Source: join(homedir(), '.mesg'),
Target: '/mesg',
Target: '/root/.mesg',
Type: 'bind',
}],
},
Networks: [
{Target: network.id, Alias: 'core'},
{
Target: network.id,
Alias: options.name,
},
]
},
EndpointSpec: {
Expand Down

0 comments on commit 697bff3

Please sign in to comment.