-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathexample.env
More file actions
89 lines (73 loc) · 2.96 KB
/
example.env
File metadata and controls
89 lines (73 loc) · 2.96 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
# MAKE A COPY OF THIS AND RENAME THE COPY TO .env
DATABASE_HOST=localhost
DATABASE_PORT=5432
DATABASE_NAME=codebloom
DATABASE_USER=postgres
DATABASE_PASSWORD=enterpasswordhere
# With the example values, this gets combined inside of the application.properties to make
# jdbc://postgresql://localhost:5432/codebloom?user=postgres&password=enterpasswordhere
# For Discord authentication, pretty self explanatory.
DISCORD_CLIENT_ID=
DISCORD_CLIENT_SECRET=
DISCORD_TOKEN=
# Discord server ID & channel ID that we consider our "home base". This channel will receive weekly messages
# on the performance of the Patina tagged users.
DISCORD_PATINA_GUILD_ID=
DISCORD_PATINA_LEETCODE_CHANNEL_ID=
# Discord server ID & channel ID that we use for our custom reporter. Errors go here.
DISCORD_REPORTING_GUILD_ID=
DISCORD_REPORTING_CHANNEL_ID=
# Discord server ID & channel ID that we use for our custom reporter. Logs go here.
DISCORD_REPORTING_LOG_GUILD_ID=
DISCORD_REPORTING_LOG_CHANNEL_ID=
# GitHub username and password for the auth token stealer. This GitHub account must
# already have logged into leetcode.com once before.
GH_USERNAME=
GH_PASSWORD=
# You must attach the email used for the Github account, as the GitHub page may require a 2FA code.
# As of right now, you must use port 143 as it is configured to use unencrypted IMAP.
#
# TODO - Replace 143 with 993 to be secure.
GH_EMAIL_HOST=
GH_EMAIL_PORT=143
GH_EMAIL_TYPE=IMAP
GH_EMAIL_USERNAME=
GH_EMAIL_PASSWORD=
# This email will be used to send school verification messages. This is separated from Github since
# we only use one official email for sending these messages, but have a variety of GitHub accounts
# between dev, staging, and prod. You must use TLS (port 587) as that is what it is configured for.
CODEBLOOM_EMAIL_HOST=
CODEBLOOM_EMAIL_PORT=587
CODEBLOOM_EMAIL_TYPE=SMTP
CODEBLOOM_EMAIL_USERNAME=
CODEBLOOM_EMAIL_PASSWORD=
# Used to toggle SpringDoc (OpenAPI & Swagger).
ENABLE_DOCUMENTATION=
# (Optional for dev)
# Used in the CI/CD pipeline.
# The Docker PAT is used to push up to Docker Hub.
DOCKER_HUB_PAT=
# (Optional for dev)
# The Digital Ocean PAT and App ID are used to trigger a redeployment after pushing a new `latest` tag up to Docker Hub.
DIGITAL_OCEAN_APP_ID=
DIGITAL_OCEAN_PAT=
# Secret key - used to sign JWTs for things like sending emails. Can be changed without causing
# significant harm.
# Generate with `openssl rand -base64 48 | head -c 64`
SECRET_KEY=
# Server URL, pretty self explanatory.
# Why is this port 5173? Vite will forward api
# requests to the backend if needed. We also
# load some frontend URLs via Playwright so it
# needs to go through the frontend.
SERVER_URL=http://localhost:5173
# Basic auth for all actuator endpoints
# Password will be checked as plaintext, generate with `openssl rand -base64 48 | head -c 64`
ACTUATOR_USERNAME=actuator
ACTUATOR_PASSWORD=
# Redis URL
REDIS_URL=
# set to "true" to enable mocked APIs in frontend.
VITE_MOCK=
# toggle playwright launching in headless
PLAYWRIGHT_HEADLESS=