services/swarm/sabnzbd.yaml
traveler c3b0c0f571 df
2026-05-01 13:40:01 -05:00

54 lines
No EOL
1.4 KiB
YAML
Executable file

# Run with docker stack deploy -c sabnzbd.yaml sabnzbd dddf
services:
sabnzbd:
image: linuxserver/sabnzbd
hostname: sabnzbd
environment:
TZ: America/Chicago
PGID: "1964"
PUID: "1964"
volumes:
- /data/nfs/znas/Docker/Sabnzbd:/config
- /data/nfs/znas/Data/:/data:shared
ports:
- 8082:8080
networks:
- netgrimoire
deploy:
restart_policy:
condition: any
delay: 5s
max_attempts: 3
window: 120s
placement:
constraints:
- node.labels.general == true
- node.platform.arch != arm64
- node.platform.arch != arm
labels:
# --- Caddy ---
caddy: sabnzbd.netgrimoire.com
caddy.reverse_proxy: sabnzbd:8080
caddy.import: crowdsec
# caddy.import_1: authentik
# --- Uptime Kuma ---
kuma.sabnzbd.http.name: SABnzbd
kuma.sabnzbd.http.url: https://sabnzbd.netgrimoire.com
# --- Homepage ---
homepage.group: Jolly Roger
homepage.name: SABnzbd
homepage.icon: sabnzbd.png
homepage.href: https://sabnzbd.netgrimoire.com
homepage.description: Usenet Downloader
homepage.widget.type: sabnzbd
homepage.widget.url: http://sabnzbd:8080
homepage.widget.key: ac2fcd48264c0a113ef33ab593958a52
# --- DIUN ---
diun.enable: "true"
networks:
netgrimoire:
external: true