Files
app-catalog-felhom.eu/templates/prowlarr/docker-compose.yml
T

68 lines
2.8 KiB
YAML

# Prowlarr - Letöltési források (indexerek) egy helyen a Sonarrhoz és a Radarrhoz
# Domain: ${SUBDOMAIN}.${DOMAIN}
# Database: None (file-based, SQLite in /config)
# RAM: ~100M (mem_limit: 512M; first start from birth peaked at 44 MiB anon, measured 2026-10-15) | Pi-compatible: Yes
#
# Environment variables:
# DOMAIN - Your domain (e.g., demo-felhom.eu)
#
# The household's download sources (indexers) live here ONCE and reach Sonarr and Radarr by themselves (Prowlarr ->
# Settings -> Apps, full sync). The box makes those two links whichever comes up first — Prowlarr's own start runs the
# wiring too since controller 0.314.0 (R-1058, measured on 9202 2026-10-15; felhom.eu 15-media-library.md §6).
# It touches no drive and no media folder: config only, in the named volume prowlarr_config.
# Run-identity: PUID/PGID 1000.
services:
prowlarr:
image: lscr.io/linuxserver/prowlarr:version-2.6.5.5623
container_name: prowlarr
restart: unless-stopped
# On the FIRST start only, the settings file is seeded with two choices the household would otherwise have to find:
# AuthenticationRequired=Enabled (R-1030, as Sonarr/Radarr): never „Disabled for Local Addresses", which lets every
# device at home and every container on the box in without a sign-in, the API key included;
# AnalyticsEnabled=False: Prowlarr sends anonymous usage data by default (measured 2026-10-15: analyticsEnabled
# true on a fresh config). Data sovereignty is the pitch.
# The app fills in everything else itself; a household's later choice is never overwritten.
entrypoint:
- /bin/sh
- -c
- |
if [ ! -f /config/config.xml ]; then
printf '<Config>\n <AuthenticationRequired>Enabled</AuthenticationRequired>\n <AnalyticsEnabled>False</AnalyticsEnabled>\n</Config>\n' > /config/config.xml
echo "[felhom] first start - AuthenticationRequired=Enabled, AnalyticsEnabled=False seeded"
fi
exec /init
environment:
- TZ=Europe/Budapest
- PUID=1000
- PGID=1000
- UMASK=002
volumes:
- prowlarr_config:/config
networks:
- traefik-public
deploy:
resources:
limits:
memory: 512M
healthcheck:
test: ["CMD", "curl", "-f", "http://127.0.0.1:9696/ping"]
interval: 30s
timeout: 5s
retries: 3
start_period: 30s
labels:
- "traefik.enable=true"
- "traefik.http.routers.prowlarr.rule=Host(`${SUBDOMAIN}.${DOMAIN}`)"
- "traefik.http.routers.prowlarr.entrypoints=websecure"
- "traefik.http.routers.prowlarr.tls=true"
- "traefik.http.routers.prowlarr.tls.certresolver=letsencrypt"
- "traefik.http.services.prowlarr.loadbalancer.server.port=9696"
volumes:
prowlarr_config:
networks:
traefik-public:
external: true