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
|
stop_grace_period: 1m30s
|
||||||
volumes:
|
volumes:
|
||||||
- "/var/run/docker.sock:/var/run/docker.sock"
|
- "/var/run/docker.sock:/var/run/docker.sock"
|
||||||
|
deploy:
|
||||||
|
placement:
|
||||||
|
constraints: [node.role == manager]
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
frontend:
|
frontend:
|
||||||
backend:
|
backend:
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
db-data:
|
db-data:
|
||||||
|
Loading…
Reference in New Issue
Block a user