steveternet/pi/sonarr/docker-compose.yml

48 lines
903 B
YAML

---
services:
sonarr:
image: lscr.io/linuxserver/sonarr:latest
container_name: sonarr
restart: unless-stopped
environment:
- PUID=1000
- PGID=1000
- TZ=America/New_York
volumes:
- sonarr_data:/config
- nfs-downloads:/downloads
- nfs-media-tv:/tv
labels:
- "traefik.enable=true"
- "traefik.http.services.bitwarden.loadbalancer.server.port=8989"
- 'traefik.http.routers.bitwarden.middlewares=authelia@docker'
networks:
- web
networks:
web:
external: true
volumes:
sonarr_data:
external: true
nfs-downloads:
driver: local
driver_opts:
type: nfs
o: addr=192.168.0.145,nolock,soft,rw
device: ":/volume1/downloads"
nfs-media-tv:
driver: local
driver_opts:
type: nfs
o: addr=192.168.0.145,nolock,soft,rw
device: ":/volume1/Media/TV"