2026-01-11 14:38:39 +00:00
|
|
|
# Flask Configuration
|
|
|
|
|
SECRET_KEY=dev-secret-key-change-in-production
|
|
|
|
|
|
|
|
|
|
# Database
|
|
|
|
|
DATABASE_URL=postgresql://hosting:hosting_pass_2024@localhost:5432/hosting
|
|
|
|
|
|
|
|
|
|
# Redis
|
|
|
|
|
REDIS_URL=redis://localhost:6379/0
|
|
|
|
|
|
|
|
|
|
# Load Balancer IPs (comma separated)
|
|
|
|
|
LB_IPS=176.96.129.77
|
|
|
|
|
|
|
|
|
|
# API Configuration
|
|
|
|
|
API_HOST=0.0.0.0
|
|
|
|
|
API_PORT=5000
|
|
|
|
|
|
|
|
|
|
# Encryption Key (REQUIRED - Generate with: python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())")
|
|
|
|
|
ENCRYPTION_KEY=qcaGX4ChgOqDRmfxaikZYYJJ_qYZUDx2nRWVVGHr4sM=
|
|
|
|
|
|
2026-01-12 14:00:26 +00:00
|
|
|
# Admin Panel API (for fetching CF accounts)
|
|
|
|
|
ADMIN_API_URL=http://localhost:5001
|
|
|
|
|
ADMIN_API_INTERNAL_KEY=internal-api-key-change-in-production
|
|
|
|
|
|
2026-01-11 14:38:39 +00:00
|
|
|
# Cloudflare Platform Accounts (DEPRECATED - Use database instead)
|
|
|
|
|
# PLATFORM_CF_API_TOKEN=your_token_here
|
|
|
|
|
# PLATFORM_CF_ACCOUNT_ID=your_account_id_here
|