Update nextfamhistweb/docker-compose.yml
Change constraint label to run on nay node but PROD-03 or where the target label is
This commit is contained in:
@@ -2,8 +2,9 @@ services:
|
||||
nextfamhistweb:
|
||||
image: httpd:latest
|
||||
deploy:
|
||||
# placement:
|
||||
# constraints: [node.role == worker]
|
||||
placement:
|
||||
constraints:
|
||||
- node.labels.target != here
|
||||
replicas: 1
|
||||
restart: on-failure
|
||||
ports:
|
||||
|
||||
Reference in New Issue
Block a user