Update testweb/docker-compose.yml
This commit is contained in:
@@ -7,8 +7,9 @@ services:
|
|||||||
image: httpd:2.4.65-alpine
|
image: httpd:2.4.65-alpine
|
||||||
container_name: testweb
|
container_name: testweb
|
||||||
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