# ============================================ # ServerKit Configuration # ============================================ # Copy this file to .env and customize for your environment # Generate secure keys with: python -c "import secrets; print(secrets.token_hex(32))" # ============================================ # ---------------------------------------- # REQUIRED: Security Keys # ---------------------------------------- # Generate unique keys for production! SECRET_KEY=your-secret-key-here JWT_SECRET_KEY=your-jwt-secret-key-here # ---------------------------------------- # Database Configuration # ---------------------------------------- # SQLite (default - good for small deployments): DATABASE_URL=sqlite:///serverkit.db # PostgreSQL (recommended for production): # DATABASE_URL=postgresql://user:password@localhost:5432/serverkit # MySQL: # DATABASE_URL=mysql://user:password@localhost:3306/serverkit # ---------------------------------------- # Network Configuration # ---------------------------------------- # CORS Origins - your domain(s), comma-separated CORS_ORIGINS=http://localhost,https://your-domain.com # Ports (for Docker) PORT=80 SSL_PORT=443 # ---------------------------------------- # Environment # ---------------------------------------- # Options: development, production FLASK_ENV=production # ---------------------------------------- # Optional: Notification Webhooks # ---------------------------------------- # These can also be configured via the web UI at Settings > Notifications # Discord Webhook URL # DISCORD_WEBHOOK_URL=https://discord.com/api/webhooks/... # Slack Webhook URL # SLACK_WEBHOOK_URL=https://hooks.slack.com/services/... # Telegram Bot # TELEGRAM_BOT_TOKEN=your-bot-token # TELEGRAM_CHAT_ID=your-chat-id