-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathproduction.env.example
More file actions
24 lines (19 loc) · 981 Bytes
/
production.env.example
File metadata and controls
24 lines (19 loc) · 981 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# === Server Settings ===
PORT=8080 # API port in production
NODE_ENV=production # must be production
TRUST_PROXY=true # trust reverse proxy (nginx, load balancer)
# === Auth & Security ===
CLIENT_ID=000000004c12ae6f # Microsoft Azure App Client ID
JWT_SECRET=replace_with_strong_secret_key_32chars_min # long random secret (>=32 chars)
# === Logging ===
LOG_LEVEL=warn # only warnings and errors
LOG_PRETTY=false # disable pretty logs in production
# === Swagger / API Docs ===
SWAGGER_ENABLED=false # disable Swagger UI in production
SWAGGER_SERVER_URL=https://your-server-domain.com #Swagger API docs URL
# === Xbox / PlayFab / Minecraft ===
PLAYFAB_TITLE_ID=20ca2 # PlayFab Title ID
MC_GAME_VERSION=1.21.62 # Minecraft game version (keep updated)
MC_PLATFORM=Windows10 # platform (adjust if needed)
# === CORS ===
CORS_ORIGIN=https://yourdomain.com # only allow your production frontend