sd
This commit is contained in:
parent
fb75c66d33
commit
802d257d29
1 changed files with 44 additions and 29 deletions
|
|
@ -1,39 +1,54 @@
|
||||||
services:
|
# Run with docker stack deploy -c sabnzbd.yaml sabnzbd
|
||||||
Sabnzbd:
|
services:
|
||||||
|
sabnzbd:
|
||||||
image: linuxserver/sabnzbd
|
image: linuxserver/sabnzbd
|
||||||
container_name: sabnzbd
|
|
||||||
hostname: 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:
|
networks:
|
||||||
- netgrimoire
|
- netgrimoire
|
||||||
ports:
|
|
||||||
- 8082:8080
|
|
||||||
volumes:
|
|
||||||
- /data/nfs/znas/Data/:/data:shared
|
|
||||||
- /data/nfs/znas/Docker/Sabnzbd:/config
|
|
||||||
environment:
|
|
||||||
- TZ=America/Chicago
|
|
||||||
- PGID=1964
|
|
||||||
- PUID=1964
|
|
||||||
restart: unless-stopped
|
|
||||||
deploy:
|
deploy:
|
||||||
labels:
|
restart_policy:
|
||||||
- homepage.group=Jolly Roger
|
condition: any
|
||||||
- homepage.name=Sabnzbd
|
delay: 5s
|
||||||
- homepage.icon=sabnzbd.png
|
max_attempts: 3
|
||||||
- homepage.href=http://sabnzbd.netgrimoire.com
|
window: 120s
|
||||||
- homepage.description=Usenet Downloader
|
|
||||||
- homepage.widget.type=sabnzbd
|
|
||||||
- homepage.widget.url=http://sabnzbd:8080
|
|
||||||
- homepage.widget.key=ac2fcd48264c0a113ef33ab593958a52
|
|
||||||
- kuma.sab.http.name="Sabnzbd"
|
|
||||||
- kuma.sab.http.url=http://sabnzbd:8080
|
|
||||||
- caddy=sabnzbd.netgrimoire.com
|
|
||||||
- caddy.import=authentik
|
|
||||||
- caddy.reverse_proxy="{{upstreams 8080}}"
|
|
||||||
placement:
|
placement:
|
||||||
constraints:
|
constraints:
|
||||||
- node.labels.general == true
|
- 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:
|
networks:
|
||||||
netgrimoire:
|
netgrimoire:
|
||||||
external: true
|
external: true
|
||||||
Loading…
Add table
Add a link
Reference in a new issue