seedbox/services/readarr.yaml

23 lines
605 B
YAML
Executable File

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