-
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy path.env.example
More file actions
34 lines (33 loc) · 1.47 KB
/
.env.example
File metadata and controls
34 lines (33 loc) · 1.47 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
BOT_TOKEN=your_bot_token
# ? switch to https://discord.com/api/v10 if you're not using the proxy
# ? applications themselves will NOT handle rate limits and will likely crash if they hit a rate limit
DISCORD_URL=http://plural-egress-proxy/api/v10
MONGO_URL=mongodb://plural-mongo:27017
REDIS_URL=redis://plural-redis:6379
# e.g. plural.gg, must not include protocol or subdomain
DOMAIN=localhost
# max avatar size, in bytes
MAX_AVATAR_SIZE=4194304
# always interpreted as true if not set to 0 or false, set to 0 when running in production
DEV=1
# token for uploading to the CDN, e.g. openssl rand -base64 96
# these should be the same value, some legacy code is using CDN_UPLOAD_TOKEN
# INTERNAL_MASTER_TOKEN is used for all rust code, and should be used going forward
CDN_UPLOAD_TOKEN=
INTERNAL_MASTER_TOKEN=
# full commit hash to start counting from in version calculation
START_COMMIT=
# version to start counting from in version calculation
VERSION_EPOCH=3
# comma-separated list of user IDs, only used for bypassing ownership check of debug command
ADMINS=
# patreon secret for webhook verification (optional)
PATREON_SECRET=
# info bot token, separate bot that only registers the info command (optional)
INFO_BOT_TOKEN=
# opentelemetry variables
#! note: spans will increase significantly if $DEV is enabled
#! including much more verbose logs. set $DEV to 0 when running in production
OTEL_EXPORTER_OTLP_ENDPOINT=
OTEL_EXPORTER_OTLP_HEADERS=
OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE=DELTA