adding a placement constraint on visualizer so it runs on a manager node

This commit is contained in:
Mano Marks 2017-01-25 12:29:38 -08:00
parent a01d01da63
commit 8666fce704

View File

@ -77,6 +77,9 @@ 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: