adding placement restraint to add visualizer, must run on a manager
This commit is contained in:
parent
a34564cb55
commit
d53ab169ac
@ -67,6 +67,8 @@ services:
|
|||||||
delay: 10s
|
delay: 10s
|
||||||
max_attempts: 3
|
max_attempts: 3
|
||||||
window: 120s
|
window: 120s
|
||||||
|
placement:
|
||||||
|
constraints: [node.role == manager]
|
||||||
|
|
||||||
visualizer:
|
visualizer:
|
||||||
image: dockersamples/visualizer:stable
|
image: dockersamples/visualizer:stable
|
||||||
|
Loading…
Reference in New Issue
Block a user