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