Repository navigation
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
executable file
·62 lines (55 loc) · 2.54 KB
/
Copy pathdocker-compose.yml
File metadata and controls
executable file
·62 lines (55 loc) · 2.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# ============================================================================
# Healarr Docker Compose
# Health Evaluation And Library Auto-Recovery for *aRR
# https://github.com/mescon/Healarr
# ============================================================================
services:
healarr:
image: ghcr.io/mescon/healarr:latest
container_name: healarr
restart: unless-stopped
# Security hardening:
# - init: prevents zombie processes
# - no-new-privileges: prevents privilege escalation after entrypoint drops to non-root
# - cap_drop ALL: removes all Linux capabilities from the container
init: true
security_opt:
- no-new-privileges:true
cap_drop:
- ALL
ports:
- "3090:3090"
environment:
# Timezone (for logs and scheduled scans)
- TZ=Europe/London
# Optional configuration (defaults shown):
# - HEALARR_PORT=3090
# - HEALARR_LOG_LEVEL=info
# - HEALARR_BASE_PATH=/healarr # For reverse proxy subdirectory
# - HEALARR_VERIFICATION_TIMEOUT=72h # How long to wait for re-download
# - HEALARR_DEFAULT_MAX_RETRIES=3 # Max remediation attempts
# - HEALARR_TRUSTED_PROXIES=172.18.0.0/16 # Your reverse proxy subnet
# - HEALARR_SCANNER_WORKERS=4 # Files scanned in parallel; default auto-tunes to memory (1-32)
# - HEALARR_SCANNER_SHUTDOWN_TIMEOUT=30s # Grace period for in-flight scans on shutdown
# - HEALARR_SCANNER_ENUMERATION_TIMEOUT=30m # Max directory-walk time before a scan aborts (guards a hung network mount)
# Custom binary paths (optional - for newer ffmpeg/mediainfo/handbrake):
# - HEALARR_FFPROBE_PATH=/config/tools/ffprobe
# - HEALARR_FFMPEG_PATH=/config/tools/ffmpeg
# - HEALARR_MEDIAINFO_PATH=/config/tools/mediainfo
# - HEALARR_HANDBRAKE_PATH=/config/tools/HandBrakeCLI
volumes:
# Persistent data (database, logs, backups)
- /path/to/appdata/healarr:/config
# Optional: Custom binaries directory (auto-added to PATH)
# Mount a folder containing custom ffmpeg, ffprobe, mediainfo, or HandBrakeCLI
# The folder should contain the executable files directly (e.g., ffmpeg, ffprobe)
# - /path/to/folder-with-binaries:/config/tools
# Media libraries - must match your *arr paths
# Mount as read-only (:ro) - Healarr only needs to scan files
- /path/to/media:/media:ro
# Optional: connect to same network as your *arr containers
# networks:
# - arr-network
# networks:
# arr-network:
# external: true