From 4ba878ecb0997eb53b24c85c8bd84ef2923ae8b1 Mon Sep 17 00:00:00 2001 From: "Andreas S. Turriff" Date: Fri, 14 Jun 2024 16:00:48 -0700 Subject: [PATCH] Sabnzbd included in stack --- sabnzbd.yaml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 sabnzbd.yaml diff --git a/sabnzbd.yaml b/sabnzbd.yaml new file mode 100644 index 0000000..b4ec4d2 --- /dev/null +++ b/sabnzbd.yaml @@ -0,0 +1,29 @@ + sabnzbd: + deploy: + labels: + traefik.enable: "true" + traefik.http.routers.sabnzbd-rtr.entrypoints: "websecure" + traefik.http.routers.sabnzbd-rtr.middlewares: "authentik@swarm" + traefik.http.routers.sabnzbd-rtr.rule: "Host(`sabnzbd.turriff.net`)" + traefik.http.routers.sabnzbd-rtr.service: "sabnzbd" + traefik.http.services.sabnzbd.loadbalancer.server.port: "8080" + replicas: 1 + environment: + PUID: 10005 + PGID: 10002 + UMASK: 002 + TZ: "Etc/UTC" + healthcheck: + test: "curl -f http:///localhost:8080" + interval: 2m + timeout: 5s + start_period: 1m + hostname: "sabnzbd" + image: "hotio/sabnzbd:release" + networks: + - homelab + restart: on-failure + volumes: + - "/srv/data/docker/sabnzbd/config:/config" + - "/srv/data/docker/sabnzbd/incomplete:/data/usenet/incomplete" + - "/srv/data/shared/usenet:/data/usenet"