From b0cb12cb6ffcb5e48d15c8448d8350ba3eb9b65a Mon Sep 17 00:00:00 2001 From: John Anderson Date: Mon, 5 Jan 2026 23:50:47 +0000 Subject: [PATCH] Update diun/docker-compose.yml Change placement constraint to ensure it runs on a given node --- diun/docker-compose.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/diun/docker-compose.yml b/diun/docker-compose.yml index 1a40d30..717e98c 100644 --- a/diun/docker-compose.yml +++ b/diun/docker-compose.yml @@ -16,13 +16,15 @@ services: - "DIUN_PROVIDERS_SWARM_WATCHBYDEFAULT=true" - "DIUN_NOTIF_GOTIFY_ENDPOINT=http://192.168.1.4:8111" - - "DIUN_NOTIF_GOTIFY_TOKEN=A01N42BvNjlCBY." # get your token from Gotify UI + - "DIUN_NOTIF_GOTIFY_TOKEN=Akb-uor3nfGzsy0" # get your token from Gotify UI - "DIUN_NOTIF_GOTIFY_PRIORITY=5" - "DIUN_NOTIF_GOTIFY_TIMEOUT=10s" deploy: mode: replicated placement: - constraints: [node.role == manager] +# constraints: [node.role == manager] + constraints: + - node.labels.target == here replicas: 1