fixed drone.yml
Some checks failed
continuous-integration/drone/push Build encountered an error

This commit is contained in:
2026-01-18 19:48:21 +06:00
parent 0ed8039644
commit e4bbf50725
13 changed files with 1099 additions and 119 deletions

75
.env.production.example Normal file
View File

@@ -0,0 +1,75 @@
# MC Panel Production Environment Configuration
# ================================
# Application Settings
# ================================
PORT=8000
WORKERS=4
DEBUG=false
LOG_LEVEL=WARNING
# ================================
# Security Settings
# ================================
SECRET_KEY=production-super-secret-key-change-this-immediately
JWT_SECRET_KEY=production-jwt-secret-key-change-this-immediately
JWT_ALGORITHM=HS256
JWT_EXPIRE_MINUTES=30
# ================================
# OIDC Configuration
# ================================
OIDC_CLIENT_ID=mc-panel-production
OIDC_CLIENT_SECRET=production-oidc-client-secret
OIDC_DISCOVERY_URL=https://auth.nevetime.ru/.well-known/openid_configuration
OIDC_REDIRECT_URI=https://mc-panel.nevetime.ru/api/auth/oidc/callback
# ================================
# Database Settings
# ================================
DATABASE_URL=sqlite:///./data/mc_panel_production.db
# ================================
# Logging
# ================================
LOG_FILE=/app/logs/mc_panel_production.log
# ================================
# Minecraft Server Settings
# ================================
SERVERS_PATH=/app/backend/servers
MAX_SERVERS=20
DEFAULT_SERVER_RAM=4G
# ================================
# WebSocket Settings
# ================================
WS_MAX_CONNECTIONS=200
WS_PING_INTERVAL=30
# ================================
# File Upload Settings
# ================================
MAX_UPLOAD_SIZE=500MB
ALLOWED_EXTENSIONS=jar,zip,txt,yml,yaml,json,properties
# ================================
# Backup Settings
# ================================
BACKUP_PATH=/app/backups
AUTO_BACKUP=true
BACKUP_INTERVAL=24h
MAX_BACKUPS=30
# ================================
# Performance Settings
# ================================
CACHE_TTL=3600
MAX_CONCURRENT_BUILDS=2
BUILD_TIMEOUT=1800
# ================================
# Monitoring
# ================================
METRICS_ENABLED=true
HEALTH_CHECK_INTERVAL=30