Homelab/sabnzbd.yaml
Andreas S. Turriff 8a3e78b58e UMASK fixes
2024-06-17 19:48:20 -07:00

30 lines
938 B
YAML

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.your.domain`)"
traefik.http.routers.sabnzbd-rtr.service: "sabnzbd"
traefik.http.services.sabnzbd.loadbalancer.server.port: "8080"
replicas: 1
environment:
PUID: 10005
PGID: 10002
UMASK: 0002
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"