-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsample.env
More file actions
27 lines (20 loc) · 914 Bytes
/
Copy pathsample.env
File metadata and controls
27 lines (20 loc) · 914 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
25
26
27
# NODE_ENV=production # or development
NODE_ENV=development
# Logging level
# Possible values: fatal, error, warn, info, debug, trace
LOG_LEVEL=info
# MongoDB connect string
MONGODB_URI=mongodb://localhost:27017/telemetry
# Public-facing url of this service. Used as the Steam OpenID realm and return
# url, so it must match how the dashboard is reached (e.g. https://telemetry.tf2pickup.org)
PUBLIC_URL=http://localhost:3000
# Secret used to sign the dashboard session cookie (at least 32 characters)
SESSION_SECRET=change-me-to-a-long-random-string-min-32-chars
# Steam id64s allowed to view the dashboard, comma-separated.
# Leave empty to lock everyone out.
ADMIN_STEAM_IDS=
# Max accepted telemetry requests per minute per client IP
RATE_LIMIT_MAX=20
# Set to true when running behind a reverse proxy so the client IP is read
# from X-Forwarded-For (needed for correct rate limiting)
TRUST_PROXY=false