infrastructure/servers/sunstreaker/sonarr/compose.yaml
2026-10-19 10:31:32 +02:00

28 lines
752 B
YAML

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}