From 65b770a78e739add0fb4a1e6587455a3b2feedd7 Mon Sep 17 00:00:00 2001 From: James Turland Date: Wed, 17 Apr 2024 14:45:23 +0100 Subject: [PATCH] DIUN --- DIUN/docker-compose.yaml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 DIUN/docker-compose.yaml diff --git a/DIUN/docker-compose.yaml b/DIUN/docker-compose.yaml new file mode 100644 index 0000000..6c30657 --- /dev/null +++ b/DIUN/docker-compose.yaml @@ -0,0 +1,34 @@ +version: "3.5" + +services: + diun: + image: crazymax/diun:latest + container_name: diun + command: serve + volumes: + - "/home/ubuntu/diun/data:/data" + - "/var/run/docker.sock:/var/run/docker.sock" + environment: + - "TZ=Europe/London" + - "LOG_LEVEL=info" + - "DIUN_WATCH_WORKERS=20" + - "DIUN_WATCH_SCHEDULE=0 */6 * * *" + - "DIUN_WATCH_JITTER=30s" + - "DIUN_WATCH_RUNONSTARTUP=true" + - "DIUN_PROVIDERS_DOCKER=true" + - "DIUN_PROVIDERS_DOCKER_WATCHBYDEFAULT=true" + + - "DIUN_NOTIF_GOTIFY_ENDPOINT=https://gotify.jimsgarage.co.uk" + - "DIUN_NOTIF_GOTIFY_TOKEN=AYgfdfQaRk3Pb1x" # get your token from Gotify UI + - "DIUN_NOTIF_GOTIFY_PRIORITY=1" + - "DIUN_NOTIF_GOTIFY_TIMEOUT=10s" + + - "DIUN_NOTIF_DISCORD_WEBHOOKURL=https://discord.com/api/webhooks/1230110122752217159/OWcRAUUbT3QFUSs3z35TCD9dUkM26PH0iNY1RNdgqlzoAMC81SZM_iwQ5wuyY8cyFoqL" # change to your webhook + # - "DIUN_NOTIF_DISCORD_MENTIONS" # (comma separated) + - "DIUN_NOTIF_DISCORD_RENDERFIELDS=true" + - "DIUN_NOTIF_DISCORD_TIMEOUT=10s" + # - "DIUN_NOTIF_DISCORD_TEMPLATEBODY" + + labels: + - "diun.enable=true" + restart: always