-
Notifications
You must be signed in to change notification settings - Fork 3
/
example.env
85 lines (85 loc) · 2.69 KB
/
example.env
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
# Reflectcord settings & Revolt API Settings
## You don't have to set all of these at once.
## Defaults are in src/common/constants
REVOLT_BASE_URL=""
REVOLT_API_URL=""
REVOLT_JANUARY_URL=""
AUTUMN_URL=""
MONGO_URL=""
REVOLT_DISCOVERY_URL=""
REVOLT_VORTEX_URL=""
REFLECTCORD_CDN_URL=""
REFLECTCORD_WS_URL=""
REFLECTCORD_VOICE_URL=""
USE_HTTPS=false
### Base URL for Discords website - used for assets & Rich presence
DISCORD_BASE_URL=""
API_PORT=0
CDN_PORT=0
WS_PORT=0
VOICE_PORT=0
### Port range for WebRTC connections
WEBRTC_PORT_RANGE=""
### Set to allow RDVSP to work properly
PUBLIC_IP=""
# Gif API settings
GIFBOX_URL=""
GIFBOX_API_URL=""
### Gifbox | Tenor | Giphy
GIF_BACKEND_TYPE=""
### Gif backend to use as a fallback - Combines the results of both our default
### and fallback backend.
### Only triggers if we find <50 gifs on the default backend
FALLBACK_TO=""
# External settings
### Use a stub implementation to avoid making requests to Discord.
RPC_USE_STUB=false
# Experimental features
## NOTE: These are experimental for a reason.
## Don't blindly enable these without understanding the consequences.
GATEWAY_ENABLE_OP8=false
### May have problems with XSS. Use at your own risk.
EMBED_ENABLE_SPECIALS=false
### WARNING: This is known to be unstable on certain client versions, and may
### make you mass leave servers!
SELF_ENABLE_SERVER_LEAVES=false
### Can cause 429 errors and client crashes
ROLE_MEMBER_COUNTS=false
### Potential to cause HTTP 404
MESSAGE_FULL_MENTIONS=false
### Not fully complete - report any missing schemas
ENABLE_BODY_VALIDATION=false
### Only dispatch messages if we've sent a request for them before
LAZY_MESSAGES=false
### Likely to cause security vulnerabilities on "mongo" mode. Use at your own risk.
RVAPI_MODE=""
# Administration
### List of user ids that will receive special admin powers on the instance
PRIVILIGED_USERS=[]
# Config/misc
### Enable profile themes for all users. Fixes scaling issues with banners.
ENABLE_PROFILE_THEMES=false
INSTANCE_NAME=""
### Enable strict channel name enforcement. "Development Channel" will
### turn to "development-channel"
STRICT_CHANNEL_NAMES=false
# Debugging
### Enable Discords metrics endpoints
### NOTE: This is mostly harmless, as it only reports non-identifiable data
### eg. crash statistics
ENABLE_METRICS=false
### Enable tracking endpoints
### Please don't use this on a public instance!!
ENABLE_TRACKING=false
# Testing
## NOTE: Make the token begin with "Bot " if using a bot user for testing,
## otherwise many tests will fail.
testToken=""
TEST_CHANNEL_ID=""
TEST_SERVER_ID=""
TEST_USER_ID=""
## You generally shouldn't change settings below here
DISCORD_EPOCH=""
ENABLE_LOGGING=false
### The format to use for Revolt WS connections
WS_FORMAT=""