20 lines
620 B
YAML
20 lines
620 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 |