This repository was archived by the owner on Aug 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.sample
More file actions
76 lines (59 loc) · 2.41 KB
/
.env.sample
File metadata and controls
76 lines (59 loc) · 2.41 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
##########################################################
## Configuration file for the Suicide Squad Discord bot ##
##########################################################
# The Discord bot prefixes for invoking commands in chat (separated by ,).
DISCORD_PREFIXES=["!","?"]
# The Discord bot token obtained from the Discord Developer Portal.
DISCORD_TOKEN=
# The discord application id and secret used for oauth2. Can be obtained from the
# Discord Developer Portal.
DISCORD_CLIENT_ID=
DISCORD_CLIENT_SECRET=
# The ID of the role given to staff members, 'Kerkermeister'.
KERKERMEISTER_ROLE_ID=
# The user name, password, and database for the postgres database.
POSTGRES_USER=
POSTGRES_PASSWORD=
POSTGRES_DB=
POSTGRES_HOST=
POSTGRES_PORT=
# If a user wishes to work with a given database URL directly to take
# advantage of further configuration options, this can be alternatively
# used instead of the above POSTGRES_* options.
#POSTGRES_DB_URL=
# The host and port used by the api backend.
# You can ignore this, if you start the ASGI server yourself.
# (Only used when running pipenv run backend)
BACKEND_HOST=
BACKEND_PORT=
# The list of allowed origins separated by a ",".
# If you have a frontend which uses this api, you'll have to add the address here.
# (see https://fastapi.tiangolo.com/tutorial/cors/?h=origin#use-corsmiddleware)
#BACKEND_ORIGINS_ALLOWED=["example.com"]
# A random string used for the state parameter in the oauth2 process.
# You can generate one by running openssl rand -hex 32
BACKEND_OAUTH2_SESSION_SECRET=
# The url the api should redirect to after a successful oauth2 operation.
# This is optional. If not filled out,
# it will redirect to https://discord.com/oauth2/authorized
#BACKEND_REDIRECT_URL_AFTER_SUCCESSFUL_OAUTH2=
# Set this to True to enable debug mode.
# Don't enable debug mode in any production environment! It's not secure!
#DEBUG_MODE=
## Very optional parameters.
# The following parameters can be overwritten but shouldn't.
# Discord API and oauth2 Stuff
#DISCORD_ACCESS_TOKEN_URL=
#DISCORD_ACCESS_TOKEN_PARAMS=
#DISCORD_AUTHORIZE_URL=
#DISCORD_ACCESS_TOKEN_REVOKE_URL=
# The base url for the discord api (including version)
#DISCORD_API_BASE_URL=
# E.g. used to define the required scope.
#DISCORD_CLIENT_KWARGS=
# Origin stuff
#BACKEND_ORIGINS_ALLOWED_CREDENTIALS=
#BACKEND_ORIGINS_ALLOWED_METHODS=
#BACKEND_ORIGINS_ALLOWED_HEADERS=
#BACKEND_ORIGINS_EXPOSED_HEADERS=
#BACKEND_ORIGINS_MAX_AGE=