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