-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
142 lines (125 loc) · 5.11 KB
/
Copy path.env.example
File metadata and controls
142 lines (125 loc) · 5.11 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
# Arr Stack Environment Configuration
#
# IMPORTANT: Copy this file to .env and customize ALL values for your system
# The stack will NOT work without setting these variables!
#
# cp .env.example .env
# =============================================================================
# VPN CONFIGURATION (REQUIRED - MUST BE SET)
# =============================================================================
VPN_PROVIDER=nordvpn
VPN_TYPE=openvpn
VPN_USERNAME=your_vpn_username
VPN_PASSWORD=your_vpn_password
# Optional VPN settings (leave empty for auto-selection)
VPN_REGION=
VPN_COUNTRY=
# VPN_PRIVATE_KEY=your_wireguard_private_key # For Wireguard
# VPN_ADDRESSES=your_wireguard_addresses # For Wireguard
# =============================================================================
# PATH CONFIGURATION (REQUIRED - MUST BE SET)
# =============================================================================
# These paths MUST exist and be writable by UID/GID 1000:1000
# The compose file has NO fallback values - these variables are mandatory!
# Base path for all application configuration files
# Each service will create its own subdirectory under this path
CONFIG_ROOT=/home/user/docker/configs
# Base path for media library
# Subdirectories: music/, movies/, tv/
MEDIA_ROOT=/home/user/media
# Downloads directory (shared by all download clients)
DOWNLOADS_ROOT=/home/user/downloads
# =============================================================================
# TIMEZONE CONFIGURATION (RECOMMENDED)
# =============================================================================
# Set timezone to match your VPN exit node location for optimal functionality
# Examples:
# - Netherlands VPN exit: TZ=Europe/Amsterdam
# - Germany VPN exit: TZ=Europe/Berlin
# - US East VPN exit: TZ=America/New_York
# - US West VPN exit: TZ=America/Los_Angeles
# - Canada VPN exit: TZ=America/Toronto
# Default if not set: Europe/London
TZ=Europe/London
# =============================================================================
# RESOURCE LIMITS (OPTIONAL)
# =============================================================================
# Configure memory and CPU limits for each service to prevent resource exhaustion
# Defaults are conservative and suitable for most systems
# VPN and Infrastructure
GLUETUN_MEMORY_LIMIT=512M
GLUETUN_CPU_LIMIT=1.0
WATCHTOWER_MEMORY_LIMIT=256M
WATCHTOWER_CPU_LIMIT=0.5
# Core Media Management (moderate resource usage)
LIDARR_MEMORY_LIMIT=1G
LIDARR_CPU_LIMIT=1.0
RADARR_MEMORY_LIMIT=1G
RADARR_CPU_LIMIT=1.0
SONARR_MEMORY_LIMIT=1G
SONARR_CPU_LIMIT=1.0
# Supporting Services (lighter resource usage)
PROWLARR_MEMORY_LIMIT=512M
PROWLARR_CPU_LIMIT=0.5
BAZARR_MEMORY_LIMIT=512M
BAZARR_CPU_LIMIT=0.5
REQUESTRR_MEMORY_LIMIT=512M
REQUESTRR_CPU_LIMIT=0.5
# Resource-Intensive Services
FLARESOLVERR_MEMORY_LIMIT=1G # Browser automation needs more memory
FLARESOLVERR_CPU_LIMIT=1.0
OVERSEERR_MEMORY_LIMIT=1G # Web UI with database
OVERSEERR_CPU_LIMIT=1.0
# Download Clients (highest resource usage)
QBITTORRENT_MEMORY_LIMIT=2G # BitTorrent can be memory intensive
QBITTORRENT_CPU_LIMIT=2.0
SABNZBD_MEMORY_LIMIT=2G # Usenet processing needs resources
SABNZBD_CPU_LIMIT=2.0
NZBHYDRA2_MEMORY_LIMIT=1G # Meta-search with caching
NZBHYDRA2_CPU_LIMIT=1.0
# =============================================================================
# TOTAL RESOURCE CALCULATION
# =============================================================================
# Default total limits (approximate):
# - Memory: ~15.5GB (adjust based on your system)
# - CPU: ~14.5 cores (adjust based on your system)
#
# For systems with limited resources, consider reducing limits:
# - 8GB RAM system: Reduce all memory limits by 50%
# - 4-core system: Reduce all CPU limits by 50%
# =============================================================================
# OPTIONAL CONFIGURATION
# =============================================================================
# Flaresolverr logging (default: info)
LOG_LEVEL=info
LOG_HTML=false
CAPTCHA_SOLVER=none
# =============================================================================
# EXAMPLE DIRECTORY STRUCTURE
# =============================================================================
# Based on the above configuration, your directory structure should look like:
#
# /home/user/
# ├── docker/
# │ └── configs/ # CONFIG_ROOT
# │ ├── gluetun/
# │ ├── sonarr/
# │ ├── radarr/
# │ ├── lidarr/
# │ ├── prowlarr/
# │ ├── bazarr/
# │ ├── overseerr/
# │ ├── requestrr/
# │ ├── qbittorrent/
# │ ├── sabnzbd/
# │ └── nzbhydra2/
# ├── media/ # MEDIA_ROOT
# │ ├── music/
# │ ├── movies/
# │ └── tv/
# └── downloads/ # DOWNLOADS_ROOT
# ├── incomplete/ # SABnzbd incomplete downloads
# └── [completed files]
#
# Make sure all directories are owned by UID/GID 1000:1000:
# sudo chown -R 1000:1000 /home/user/docker /home/user/media /home/user/downloads