steveternet/pi/sonarr/docker-compose.yml
2024-03-16 23:21:37 +00:00

38 lines
732 B
YAML

---
services:
sonarr:
image: lscr.io/linuxserver/sonarr:latest
container_name: sonarr
environment:
- PUID=1000
- PGID=1000
- TZ=America/New_York
- DOMAIN_ROOT=${DOMAIN_ROOT}
volumes:
- sonarr_data:/config
- /mnt/Media/TV:/tv
- /mnt/Downloads:/downloads
restart: unless-stopped
environment:
labels:
- "traefik.http.services.bitwarden.loadbalancer.server.port=80"
- "traefik.enable=true"
- "traefik.http.routers.bitwarden.rule=Host(`sonarr.${DOMAIN_ROOT}`)"
- 'traefik.http.routers.bitwarden.middlewares=authelia@docker'
networks:
- web
networks:
web:
external: true
volumes:
sonarr_data:
external: true