Update ghost/docker-compose.yml
Add control via labels
This commit is contained in:
@@ -4,7 +4,8 @@ services:
|
|||||||
container_name: ghost
|
container_name: ghost
|
||||||
deploy:
|
deploy:
|
||||||
placement:
|
placement:
|
||||||
constraints: [node.role == worker]
|
constraints:
|
||||||
|
- node.labels.target == here
|
||||||
replicas: 1
|
replicas: 1
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
|
|||||||
Reference in New Issue
Block a user