adding a placement constraint on visualizer so it runs on a manager node
This commit is contained in:
parent
a01d01da63
commit
8666fce704
@ -77,10 +77,13 @@ services:
|
||||
stop_grace_period: 1m30s
|
||||
volumes:
|
||||
- "/var/run/docker.sock:/var/run/docker.sock"
|
||||
deploy:
|
||||
placement:
|
||||
constraints: [node.role == manager]
|
||||
|
||||
networks:
|
||||
frontend:
|
||||
backend:
|
||||
|
||||
volumes:
|
||||
db-data:
|
||||
db-data:
|
||||
|
Loading…
Reference in New Issue
Block a user