-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathsample.env
More file actions
103 lines (82 loc) · 3.38 KB
/
Copy pathsample.env
File metadata and controls
103 lines (82 loc) · 3.38 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
# Timezone of the server
# https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
TZ=Europe/Warsaw
NODE_ENV=production # or development
# Logging level
# Possible values: fatal, error, warn, info, debug, trace
LOG_LEVEL=info
# An URL to where this instance will be accessed
WEBSITE_URL=http://localhost:3000
# Reverse-proxy hops whose X-Forwarded-* headers Fastify may trust when
# resolving the real client IP. Comma-separated IPs/CIDRs or proxy-addr named
# subnets (loopback, linklocal, uniquelocal). The default trusts loopback and
# private ranges (incl. the Docker bridge) so public clients cannot spoof their
# source IP. Set to the exact proxy address to tighten further.
TRUST_PROXY=loopback, uniquelocal
# The name of the website
WEBSITE_NAME=tf2pickup.org
# MongoDB connect string
MONGODB_URI=mongodb://localhost:27017/tf2pickup
# SteamID64 of the super-user
SUPER_USER=76561199195756652
# Steam API key
# Get your key at https://steamcommunity.com/dev/apikey
STEAM_API_KEY=your_steam_api_key
# logs.tf API key
# Obtain yours here: https://logs.tf/uploader
LOGS_TF_API_KEY=your_logs_tf_api_key
# Which gamemode to run; possible values: 6v6, 9v9, ultiduo
QUEUE_CONFIG=6v6
# A passphrase that is used to encrypt private keys that sign JWT tokens.
# NOTE: For production, get a random password (i.e. from https://passwordsgenerator.net/)
# and do not change it afterwards.
KEY_STORE_PASSPHRASE=a_secure_password
# Log relay
# The log relay uses one UDP port to receive logs from the TF2 game servers. These are used
# to determine when the match starts, ends, when users connect, etc.
# It should be the same address as API_URL, but without the https schema.
LOG_RELAY_ADDRESS=localhost
LOG_RELAY_PORT=9871
# Game server secret is used by the connector plugin to register the static gameservers.
GAME_SERVER_SECRET=your_game_server_secret
# Thumbnail service URL
# Don't change it unless you know what you're doing.
THUMBNAIL_SERVICE_URL=https://mapthumbnails.tf2pickup.org
# atlas integration (optional)
# Registers this instance on the atlas dashboard (https://atlas.tf2pickup.org).
# Heartbeats are sent only when ATLAS_SECRET is set.
#ATLAS_URL=https://atlas.tf2pickup.org
ATLAS_SECRET=
# Anonymous feature-adoption telemetry (enabled by default in production only;
# never reported when NODE_ENV is not "production" or when running in CI).
# Reports a non-PII snapshot of how this instance is configured (which features
# are on/off, which integrations are enabled, queue type, version) to help
# prioritise development. No player data, server names, URLs or tokens are sent.
# Set TELEMETRY_DISABLED=true to opt out.
#TELEMETRY_URL=https://telemetry.tf2pickup.org
TELEMETRY_DISABLED=false
# serveme.tf integration (optional)
# Valid endpoints are:
# serveme.tf
# na.serveme.tf
# sea.serveme.tf
SERVEME_TF_API_ENDPOINT=serveme.tf
SERVEME_TF_API_KEY=
# TF2 Quick Server integration (optional)
# https://github.com/sonikro/TF2-QuickServer
TF2_QUICK_SERVER_CLIENT_ID=
TF2_QUICK_SERVER_CLIENT_SECRET=
# Discord (optional)
DISCORD_BOT_TOKEN=
# twitch.tv integration (optional)
# https://dev.twitch.tv/console
TWITCH_CLIENT_ID=
TWITCH_CLIENT_SECRET=
# umami integration (optional)
# https://umami.is/docs/self-host
UMAMI_SCRIPT_SRC=
UMAMI_WEBSITE_ID=
# session recorder script (optional) — loaded when set
UMAMI_RECORDER_SCRIPT_SRC=
# add data-performance="true" to the umami script (true/false)
UMAMI_TRACK_PERFORMANCE=false