Merge pull request #62 from ManoMarks/master

adding a placement constraint on visualizer
This commit is contained in:
Sophia Parafina 2017-01-25 14:32:11 -06:00 committed by GitHub
commit 14ba5b9cb3

View File

@ -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: