adding a placement constraint on visualizer so it runs on a manager node
This commit is contained in:
		@@ -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:
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user