-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
61 lines (46 loc) · 1.62 KB
/
Copy path.env.example
File metadata and controls
61 lines (46 loc) · 1.62 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
# ================================
# Rug-Panel - Environment Variables
# ================================
# Copy this file to .env and configure values:
# cp .env.example .env
# nano .env
# ================================
# ==================== Network Settings ====================
# Web panel port
PANEL_PORT=8000
# WireGuard VPN port
WG_PORT=51820
# ==================== Main Settings ====================
# Debug mode (true/false)
DEBUG=false
# Logging level (DEBUG, INFO, WARNING, ERROR)
LOG_LEVEL=INFO
# ==================== SECURITY (REQUIRED!) ====================
# Secret key for JWT tokens - MUST be generated!
# Generate: python -c "import secrets; print(secrets.token_urlsafe(32))"
# Or: openssl rand -base64 32
SECRET_KEY=CHANGE_ME_GENERATE_RANDOM_KEY_HERE
# JWT token lifetime in minutes (1440 = 24 hours)
ACCESS_TOKEN_EXPIRE_MINUTES=1440
# ==================== WireGuard ====================
# WireGuard interface name
WG_INTERFACE=wg0
# DNS servers for clients (comma-separated)
DEFAULT_DNS=77.88.8.8, 8.8.8.8
# Allowed IPs for routing (comma-separated)
DEFAULT_ALLOWED_IPS=0.0.0.0/0, ::/0
# Keepalive interval in seconds (for NAT)
DEFAULT_PERSISTENT_KEEPALIVE=25
# ==================== Version ====================
# Panel version (used for Docker image tagging)
PANEL_VERSION=1.4.3
# ==================== Interface Language ====================
# Panel interface language (ru - Russian, en - English)
LANGUAGE=en
# ==================== Optional ====================
# Config cache TTL (in seconds)
# CONFIG_CACHE_TTL=5
# Status cache TTL (in seconds)
# STATUS_CACHE_TTL=2
# QR code LRU cache size
# QR_CACHE_SIZE=100