services: sonarr: image: linuxserver/sonarr:4.0.20 container_name: sonarr volumes: # Config - ${APPDATA}/sonarr:/config # Media - ${MEDIADIR}/shows:/tv environment: PUID: ${PUID} PGID: ${PGID} TZ: ${TZ} labels: - "traefik.enable=true" - "traefik.http.routers.sonarr.rule=Host(`sonarr.${LOCAL_DOMAIN}`)" - "traefik.http.routers.sonarr.entrypoints=https" - "traefik.http.routers.sonarr.tls=true" - "traefik.http.services.sonarr.loadbalancer.server.port=8989" - "traefik.http.routers.sonarr.middlewares=redirect-to-https@file" networks: - proxy restart: unless-stopped networks: proxy: external: true name: ${PROXY_NETWORK:-proxy}