--- 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 labels: - "traefik.http.services.bitwarden.loadbalancer.server.port=8989" - "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