Update uptime-kuma/docker-compose.yml
Add control via labels
This commit is contained in:
@@ -2,6 +2,10 @@ services:
|
|||||||
uptime-kuma:
|
uptime-kuma:
|
||||||
image: louislam/uptime-kuma:2
|
image: louislam/uptime-kuma:2
|
||||||
container_name: uptime-kuma
|
container_name: uptime-kuma
|
||||||
|
deploy:
|
||||||
|
placement:
|
||||||
|
constraints:
|
||||||
|
- node.labels.target != here
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- "3010:3001"
|
- "3010:3001"
|
||||||
|
|||||||
Reference in New Issue
Block a user