29 lines
1.2 KiB
YAML
29 lines
1.2 KiB
YAML
services:
|
|
sonarr:
|
|
hostname: sonarr.docker
|
|
environment:
|
|
PUID: "${HOST_UID}"
|
|
PGID: "${HOST_GID}"
|
|
# RUNTIPI Environment
|
|
RUNTIPI_APP_PORT: "${APP_PORT}"
|
|
RUNTIPI_APP_ID: "${APP_ID}"
|
|
RUNTIPI_APP_DATA_DIR: "${APP_DATA_DIR}"
|
|
RUNTIPI_APP_EXPOSED: "${APP_EXPOSED:-}"
|
|
RUNTIPI_APP_DOMAIN: "${APP_DOMAIN}"
|
|
RUNTIPI_APP_HOST: "${APP_HOST}"
|
|
RUNTIPI_LOCAL_DOMAIN: "${LOCAL_DOMAIN}"
|
|
RUNTIPI_DOMAIN: "${DOMAIN}"
|
|
RUNTIPI_ROOT_DOMAIN: "${ROOT_DOMAIN}"
|
|
volumes_from:
|
|
- "container:vols-arr"
|
|
labels:
|
|
# Websecure
|
|
traefik.http.routers.sonarr.middlewares: authentik_sysmgr@file
|
|
# traefik.http.routers.sonarr.middlewares: lan-only@file
|
|
traefik.http.routers.sonarr-more.rule: Host(`sonarr.${ROOT_DOMAIN}`)${APP_ROUTE_OPTIONAL:-}
|
|
# traefik.http.routers.sonarr-more.entrypoints: websecure
|
|
# traefik.http.routers.sonarr-more.service: sonarr
|
|
# traefik.http.routers.sonarr-more.middlewares: authentik_sysmgr@file
|
|
# traefik.http.routers.sonarr-more.middlewares: lan-only@file
|
|
# traefik.http.routers.sonarr-more.tls: true
|
|
# traefik.http.routers.sonarr-more.tls.certresolver: myresolver |