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"