30 lines
937 B
YAML
30 lines
937 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: 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"
|