27 lines
807 B
YAML
27 lines
807 B
YAML
version: '3.9'
|
|
|
|
services:
|
|
sabnzbd:
|
|
image: lscr.io/linuxserver/sabnzbd:latest
|
|
container_name: sabnzbd
|
|
environment:
|
|
- PUID=${USER_ID}
|
|
- PGID=${GROUP_ID}
|
|
- TZ=${TIMEZONE}
|
|
volumes:
|
|
- ./sabnzbd:/config
|
|
- ${DATA_ROOT}:/data
|
|
restart: always
|
|
labels:
|
|
- traefik.enable=true
|
|
- traefik.http.routers.sabnzbd.rule=(Host(`${HOSTNAME}`) && PathPrefix(`/sabnzbd`) || PathPrefix(`/sabnzbd`))
|
|
- traefik.http.routers.sabnzbd.tls=true
|
|
- traefik.http.routers.sabnzbd.tls.certresolver=myresolver
|
|
- traefik.http.services.sabnzbd.loadbalancer.server.port=8080
|
|
- homepage.group=Media
|
|
- homepage.name=Sabnzbd
|
|
- homepage.icon=sabnzbd.png
|
|
- homepage.href=/sabnzbd
|
|
- homepage.description=Usenet
|
|
- homepage.weight=6
|