-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.env.example
35 lines (26 loc) · 1.55 KB
/
.env.example
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
# This keys cannot be dynamically generated by the app, you need to get them manually
# Some keys such as USER_MANAGEMENT_SECRET_KEY or ACCESS_SERVICE_KEY are dynamically generated
# directly in `generate_env.py` script
BASE_DOMAIN=localhost
# USER MANAGEMENT keys
#To receive a github client ID + secret, you need to log in to github and then register your app here: github.com/settings/applications/new
# When creating the app, the callback URL should be:
# https://localhost:6002/user/oauth/callback/github/
# if you are not running the app locally, replace localhost:6002 with user management microservice IP and port
GITHUB_CLIENT_ID=xxxx
GITHUB_CLIENT_SECRET=xxx
#To receive a 42 api client ID + secret, you need to log in to 42intra and then register your app here: profile.intra.42.fr/oauth/applications/new
# When creating the app, the callback URL should be:
# https://localhost:6002/user/oauth/callback/42api/
# if you are not running the app locally, replace localhost:6002 with user management microservice IP and port
FT_API_CLIENT_ID=xxx
FT_API_CLIENT_SECRET=xxx
# to send emails via gmail, enable 2fa in gmail and then create an app password
# https://support.google.com/accounts/answer/185833?hl=en
EMAIL_HOST_USER=xxx # email used to send emails
EMAIL_HOST_PASSWORD=xxx # password ( or in our case, app-password) of the email used to send emails
PONG_GAME_CREATOR_NGINX_PORT=6006
PONG_GAME_SERVERS_MIN_PORT=50200
PONG_GAME_SERVERS_MAX_PORT=50400
# ONLY IN LOCAL DEBUG MODE (sqlite3 instead of postgresql, localhost instead of the real domain, etc.):
DEBUG=False