Update gotify/docker-compose.yml
Add the label target = here to ensure application runs where I want it to run
This commit is contained in:
@@ -4,6 +4,10 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- /mnt/cephfs/docker/gotify:/app/data
|
- /mnt/cephfs/docker/gotify:/app/data
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
deploy:
|
||||||
|
placement:
|
||||||
|
constraints:
|
||||||
|
- node.labels.target == here
|
||||||
ports:
|
ports:
|
||||||
- 8111:80
|
- 8111:80
|
||||||
security_opt:
|
security_opt:
|
||||||
|
|||||||
Reference in New Issue
Block a user