-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
81 lines (58 loc) · 2.85 KB
/
.env.example
File metadata and controls
81 lines (58 loc) · 2.85 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# Discord bot token for authentication with the Discord API
DISCORD_BOT_TOKEN=your_discord_bot_token_here
# Guild ID for the Discord server where the bot operates
DISCORD_GUILD_ID=your_guild_id_here
# Base URL for the Rocket League API
ROCKET_API_BASE=https://api_url_of_your_choice
# API key for accessing Rocket League stats
ROCKET_API_KEY=your_rocket_api_key_here
# URL for FlareSolverr service to bypass anti-bot measures
FLARESOLVERR_URL=https://your_flaresolverr_url_here
# SMTP server for sending emails (e.g., ticket notifications)
SMTP_SERVER=your_smtp_server_here
# SMTP port (465 for SSL)
SMTP_PORT=465
# SMTP username for authentication
SMTP_USER=your_smtp_username_here
# SMTP password for authentication
SMTP_PASS=your_smtp_password_here
# Support email address for ticket system
SUPPORT_EMAIL=your_support_email_here
# OpenAI API key for generating changelogs with GPT-4 Turbo
OPENAI_API_KEY=your_openai_api_key_here
# ============================================================================
# WEB INTERFACE / API CONFIGURATION
# ============================================================================
# Port for the Flask API server
API_PORT=5000
# Secret key for JWT token signing (use a strong random string in production)
API_SECRET_KEY=your-very-secret-key-change-in-production
# Monitoring secret for generating Uptime Kuma tokens (use: openssl rand -hex 32)
API_MONITORING_SECRET=your-monitoring-secret-here-change-in-production
# ============================================================================
# DISCORD OAUTH CONFIGURATION
# ============================================================================
# Discord OAuth credentials
DISCORD_CLIENT_ID=your_discord_client_id_here
DISCORD_CLIENT_SECRET=your_discord_client_secret_here
DISCORD_REDIRECT_URI=https://api.haze.pro/api/discord/callback
# OAuth Frontend URLs (full URLs including path)
# Flutter Web App URL (where users are redirected after OAuth login)
DISCORD_OAUTH_FRONTEND_URL=https://admin.haze.pro
# Analytics Dashboard URL (full URL including path to analytics_dashboard.html)
# Example: https://api.haze.pro/analytics/analytics_dashboard.html
DISCORD_OAUTH_ANALYTICS_URL=https://api.haze.pro/analytics/analytics_dashboard.html
# ============================================================================
# API AUTHENTICATION
# ============================================================================
# Admin credentials for web interface
API_ADMIN_USER=admin
API_ADMIN_PASS=changeme
# Additional users (format: username:password, comma-separated)
# Example: API_EXTRA_USERS=duke:password123,alice:secret456
API_EXTRA_USERS=
# Debug mode (NEVER set to true in production - security risk!)
API_DEBUG=false
# Timezone for displaying dates/times (e.g., Europe/Berlin, America/New_York, UTC)
# Used for daily meme scheduling, game requests, activity tracking, etc.
TIMEZONE=Europe/Berlin