knet-array/radarr.docker-compose.yml
karmacoma 9c2fef799e Added radarr
Signed-off-by: karmacoma <karmacoma@karmacoma.dev>
2025-11-25 23:15:01 +00:00

32 lines
No EOL
1.1 KiB
YAML

services:
radarr:
image: lscr.io/linuxserver/radarr:latest
container_name: radarr
environment:
- PUID=1000
- PGID=1000
- TZ=${TZ:-Europe/Berlin}
# Make sure these variables are defined in your .env file or host system
# otherwise they will be empty inside the container.
- SERVICE_URL_RADARR_7878
- _APP_URL=$SERVICE_URL_RADARR
volumes:
# Option A: Named Volume (Managed by Docker, harder to backup manually)
- radarr-config:/config
# Option B: Bind Mount (Easier to backup, stores files on your host folder)
# - ./config/radarr:/config <-- I usually recommend this for "arr" apps
# YOUR STORAGE BOX
- /mnt/osirisbox:/data
# FIX: This was indented inside 'volumes' in your snippet.
# It must be at the same level as 'volumes' and 'environment'.
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:7878/ping"]
interval: 30s # 2s is very aggressive, 30s is standard
timeout: 10s
retries: 3
# If you stick with Option A (radarr-config), you must declare it here:
volumes:
radarr-config: