Sabnzbd included in stack

This commit is contained in:
Andreas S. Turriff 2024-06-14 16:00:48 -07:00
parent e8611c7a25
commit 4ba878ecb0

29
sabnzbd.yaml Normal file
View File

@ -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"