seedbox/services/sonarr.yaml

23 lines
596 B
YAML
Executable File

services:
sonarr:
image: ghcr.io/linuxserver/sonarr:develop
container_name: sonarr
restart: always
volumes:
- configsonarr:/config
- torrents:/torrents
- /etc/localtime:/etc/localtime:ro
environment:
- PGID=${PGID}
- PUID=${PUID}
- TZ=${TZ}
labels:
- "traefik.enable=true"
- "traefik.http.routers.sonarr.rule=Host(`sonarr.${TRAEFIK_DOMAIN}`)"
- "traefik.http.routers.sonarr.middlewares=common-auth@file"
volumes:
configsonarr:
driver: local-persist
driver_opts:
mountpoint: $HOST_CONFIG_PATH/sonarr