diff --git a/pi/sonarr/docker-compose.yml b/pi/sonarr/docker-compose.yml new file mode 100644 index 0000000..fdc65d2 --- /dev/null +++ b/pi/sonarr/docker-compose.yml @@ -0,0 +1,37 @@ +--- +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 +