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