adding the coder stack file
This commit is contained in:
@ -17,6 +17,7 @@ services:
|
||||
- DS_SERVICE_NAME={{.Service.Name}}
|
||||
- DS_TASK_NAME={{.Task.Name}}
|
||||
volumes:
|
||||
# direct binding is ok for the constraints 'node.role == manager' below
|
||||
- type: bind
|
||||
source: /var/run/docker.sock
|
||||
target: /var/run/docker.sock
|
||||
@ -44,7 +45,8 @@ services:
|
||||
deploy:
|
||||
mode: global
|
||||
placement:
|
||||
constraints: [node.role == manager]
|
||||
constraints:
|
||||
- node.role == manager
|
||||
command:
|
||||
- --log.level=INFO
|
||||
- --accessLog
|
||||
|
Reference in New Issue
Block a user