-
-
Notifications
You must be signed in to change notification settings - Fork 36
/
server_env
55 lines (43 loc) · 1.04 KB
/
server_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
NODE_ENV=development_docker
PORT=3000
UPLOAD_PATH=uploads
BASE_URL=http://localhost:3001
GAME_PORTS=[3010]
CHAT_PORT=2999
SOCKET_PING_INTERVAL=10000
SERVER_SOCKET_PING_INTERVAL=2000
GAME_CREATION_TIMEOUT=5000
# any string to replace x
SESSION_SECRET=x
LOAD_BALANCER_KEY=x
BOT_KEY=x
# follow your mongo setup
MONGO_URL=mongodb
MONGO_DB=ultimafia
MONGO_USER=admin
MONGO_PW=password
# any number from 0 to 15
REDIS_DB=0
# get your firebase API key
FIREBASE_API_KEY=x
FIREBASE_AUTH_DOMAIN=x.firebaseapp.com
FIREBASE_PROJECT_ID=x
FIREBASE_MESSAGING_SENDER_ID=x
FIREBASE_APP_ID=x
FIREBASE_MEASUREMENT_ID=x
FIREBASE_JSON_FILE=firebase.json
EMAIL_DOMAINS=["gmail.com"]
# optional
AGORA_ID=x
AGORA_CERT=x
# optional
IP_API_URL=https://ipqualityscore.com/api/json/ip
IP_API_KEY=x
IP_API_PARAMS=strictness=0&allow_public_access_points=true&fast=true&lighter_penalties=true&mobile=true
# optional
RECAPTCHA_KEY=x
RESERVED_NAMES={}
#optional
REPORT_DISCORD_WEBHOOK=[{"boards": ["boardShortId"], "hook": "discordWebhookUrl"}]
#optional - dev use only
DEV_USERNAME=x