Update famhistweb/docker-compose.yml
Change placement constraint
This commit is contained in:
@@ -4,7 +4,8 @@ services:
|
||||
container_name: apache2
|
||||
deploy:
|
||||
placement:
|
||||
constraints: [node.role == worker]
|
||||
constraints:
|
||||
- node.labels.target != here
|
||||
replicas: 1
|
||||
restart: on-failure
|
||||
ports:
|
||||
|
||||
Reference in New Issue
Block a user