steveternet/pi/sonarr/docker-compose.yml

48 lines
903 B
YAML
Raw Normal View History

2024-03-16 23:21:37 +00:00
---
services:
sonarr:
image: lscr.io/linuxserver/sonarr:latest
container_name: sonarr
2024-03-16 23:44:14 +00:00
restart: unless-stopped
2024-03-16 23:21:37 +00:00
environment:
- PUID=1000
- PGID=1000
- TZ=America/New_York
2024-03-16 23:44:14 +00:00
2024-03-16 23:21:37 +00:00
volumes:
- sonarr_data:/config
2024-03-22 01:22:13 +00:00
- nfs-downloads:/downloads
- nfs-media-tv:/tv
2024-03-16 23:21:37 +00:00
labels:
- "traefik.enable=true"
2024-03-22 01:22:13 +00:00
- "traefik.http.services.bitwarden.loadbalancer.server.port=8989"
- 'traefik.http.routers.bitwarden.middlewares=authelia@docker'
2024-03-16 23:21:37 +00:00
networks:
- web
networks:
web:
external: true
volumes:
sonarr_data:
external: true
2024-03-22 01:22:13 +00:00
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"