-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
33 lines (21 loc) · 1.05 KB
/
Copy path.env.example
File metadata and controls
33 lines (21 loc) · 1.05 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
### ========== Server Configuration ==========
# The port your proxy server will listen on (default: 3420)
PORT=3420
### ========== Authentication & Security ==========
# API key required for accessing proxy endpoints (e.g. services)
PROXY_API_KEY=your-proxy-api-key
# API key required for accessing management/admin endpoints
MANAGEMENT_API_KEY=your-management-api-key
# Whether authentication is required for proxy routes (true/false)
REQUIRE_AUTH_FOR_PROXY=true
# Whether authentication is required for management routes (true/false)
REQUIRE_AUTH_FOR_MANAGEMENT=true
### ========== Auth Tokens for Services ==========
# Discord bot token (used when proxying requests to Discord API)
DISCORD_BOT_TOKEN=your-discord-bot-token
# Optional: Discord's default global rate limit is 50 requests/second per bot
# token. Only set this if your application has an elevated global rate limit
# from Discord (see https://discord.com/developers/docs/topics/rate-limits).
# DISCORD_GLOBAL_RPS=50
# GitHub token for authenticated GitHub API access
GITHUB_TOKEN=your-github-token