-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
91 lines (73 loc) · 2.7 KB
/
Copy path.env.example
File metadata and controls
91 lines (73 loc) · 2.7 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
OUTPANEL_HOST=0.0.0.0
OUTPANEL_PORT=8000
OUTPANEL_DB=/opt/veltrix/data/veltrix.db
OUTPANEL_BACKUP_DIR=/opt/veltrix/backups
OUTPANEL_MONITOR_INTERVAL=30
# For production environment, set a long random value.
OUTPANEL_API_TOKEN=
# Encryption key for sensitive data at rest (x-ui passwords).
# Generate with: python -c "import secrets; print(secrets.token_hex(32))"
OUTPANEL_ENCRYPTION_KEY=
# Logging configuration
# ─── Logging ─────────────────────────────────────────────
OUTPANEL_LOG_DIR=/opt/veltrix/logs
OUTPANEL_LOG_FILE=veltrix.log
OUTPANEL_LOG_FORMAT=json
OUTPANEL_LOG_LEVEL=INFO
OUTPANEL_LOG_MAX_MB=50
OUTPANEL_LOG_BACKUP_COUNT=5
# Veltrix commercial license; later completed by License Server and signed token.
OUTPANEL_LICENSE_KEY=
OUTPANEL_LICENSE_PLAN=
OUTPANEL_LICENSE_DURATION=
OUTPANEL_LICENSE_EXPIRES_AT=
OUTPANEL_LICENSE_BOUND_IP=
OUTPANEL_SERVER_PUBLIC_IP=
OUTPANEL_REQUIRE_LICENSE=0
OUTPANEL_LICENSE_SERVER_URL=http://127.0.0.1:8010
# If you want the public IP to be read from an internal/external service:
# OUTPANEL_PUBLIC_IP_CHECK_URL=https://api.ipify.org
# Ed25519 public key for license token verification (hex or base64 encoded)
# OUTPANEL_LICENSE_PUBLIC_KEY=
# If you only want the API and dashboard to run without the worker:
# OUTPANEL_DISABLE_MONITOR=1
# Auto-disable outbounds after N consecutive failures (0 = disabled)
OUTPANEL_AUTO_DISABLE_THRESHOLD=5
OUTPANEL_AUTO_DISABLE_WINDOW=30
# Scheduled weekly report (UTC)
OUTPANEL_REPORT_HOUR=8
OUTPANEL_REPORT_DAY=0
# Language: fa (Persian) or en (English)
OUTPANEL_LANGUAGE=fa
# Custom branding (optional)
# OUTPANEL_BRAND_NAME=Veltrix
# OUTPANEL_BRAND_TAGLINE=Intelligent Network Control
# OUTPANEL_BRAND_LOGO=/assets/veltrix-icon.jpg
# OUTPANEL_BRAND_COLOR=#00bfa6
# OUTPANEL_SUPPORT_URL=
# OUTPANEL_SUPPORT_EMAIL=
# Demo mode (generates fake data for demonstration)
# OUTPANEL_DEMO_MODE=1
# Telegram Bot (two-way commands)
# OUTPANEL_TELEGRAM_BOT_TOKEN=123456:ABC-DEF...
# OUTPANEL_TELEGRAM_ALLOWED_CHATS=-1001234567890,987654321
# OUTPANEL_TELEGRAM_POLL_INTERVAL=3
# Traffic limit alert (GB, 0 = disabled)
# OUTPANEL_TRAFFIC_LIMIT_GB=500
# License validation
OUTPANEL_LICENSE_CHECK_HOURS=24
OUTPANEL_LICENSE_GRACE_DAYS=7
OUTPANEL_LICENSE_WARN_DAYS=14
# Multi-panel support: x-ui, 3x-ui, marzban
# Panel type is set per-server in the dashboard
# Email notifications (SMTP)
# OUTPANEL_SMTP_HOST=smtp.gmail.com
# OUTPANEL_SMTP_PORT=587
# OUTPANEL_SMTP_USER=your@email.com
# OUTPANEL_SMTP_PASS=app_password
# OUTPANEL_SMTP_FROM=veltrix@yourdomain.com
# OUTPANEL_SMTP_TLS=1
# Scheduled backup (nightly)
OUTPANEL_AUTO_BACKUP=1
OUTPANEL_BACKUP_HOUR=3
OUTPANEL_BACKUP_RETENTION=7