adding placement restraint to add visualizer, must run on a manager

This commit is contained in:
Mano Marks 2017-01-13 18:15:26 -08:00
parent a34564cb55
commit d53ab169ac

View File

@ -67,6 +67,8 @@ services:
delay: 10s
max_attempts: 3
window: 120s
placement:
constraints: [node.role == manager]
visualizer:
image: dockersamples/visualizer:stable