Files
tg-proxy/.env.example
T

28 lines
713 B
Bash

# Security
SECRET_KEY=change-me-in-production
# Admin session secret (separate from SECRET_KEY)
# ADMIN_SESSION_SECRET=
# Admin panel access control (comma-separated IPs, empty = allow all)
# ALLOWED_ADMIN_IPS=192.168.1.1,10.0.0.5
# Admin panel (enable only for configuration, then disable)
ADMIN_PANEL_ENABLED=false
# Database (optional, defaults to sqlite)
# DATABASE_URL=sqlite:///data/tnproxy.db
# Logging
# LOG_DIR=/app/logs
# LOG_LEVEL=INFO
# LOG_ROTATE_MAX_BYTES=10485760
# LOG_ROTATE_BACKUP_COUNT=5
# Email notifications (SMTP)
# SMTP_HOST=smtp.gmail.com
# SMTP_PORT=587
# SMTP_USER=your-email@gmail.com
# SMTP_PASSWORD=your-app-password
# SMTP_FROM=your-email@gmail.com
# SMTP_TO=notify@example.com