mirror of
https://github.com/house-of-vanity/OutFleet.git
synced 2025-10-24 01:09:08 +00:00
init rust. WIP: tls for inbounds
This commit is contained in:
31
.env.example
Normal file
31
.env.example
Normal file
@@ -0,0 +1,31 @@
|
||||
# Environment Variables Example for Xray Admin Panel
|
||||
# Copy this file to .env and modify the values as needed
|
||||
|
||||
# Database Configuration
|
||||
DATABASE_URL=postgresql://xray_admin:password@localhost:5432/xray_admin
|
||||
XRAY_ADMIN__DATABASE__MAX_CONNECTIONS=20
|
||||
XRAY_ADMIN__DATABASE__CONNECTION_TIMEOUT=30
|
||||
XRAY_ADMIN__DATABASE__AUTO_MIGRATE=true
|
||||
|
||||
# Web Server Configuration
|
||||
XRAY_ADMIN__WEB__HOST=0.0.0.0
|
||||
XRAY_ADMIN__WEB__PORT=8080
|
||||
XRAY_ADMIN__WEB__JWT_SECRET=your-super-secret-jwt-key-change-this
|
||||
XRAY_ADMIN__WEB__JWT_EXPIRY=86400
|
||||
|
||||
# Telegram Bot Configuration
|
||||
TELEGRAM_BOT_TOKEN=1234567890:ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghi
|
||||
XRAY_ADMIN__TELEGRAM__WEBHOOK_URL=https://your-domain.com/telegram/webhook
|
||||
|
||||
# Xray Configuration
|
||||
XRAY_ADMIN__XRAY__DEFAULT_API_PORT=62789
|
||||
XRAY_ADMIN__XRAY__HEALTH_CHECK_INTERVAL=30
|
||||
|
||||
# Logging Configuration
|
||||
XRAY_ADMIN__LOGGING__LEVEL=info
|
||||
XRAY_ADMIN__LOGGING__FILE_PATH=./logs/xray-admin.log
|
||||
XRAY_ADMIN__LOGGING__JSON_FORMAT=false
|
||||
|
||||
# Runtime Environment
|
||||
RUST_ENV=development
|
||||
ENVIRONMENT=development
|
||||
Reference in New Issue
Block a user