-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.env.example
52 lines (42 loc) · 1.24 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Server set up information
PORT=5000
ENVIRONMENT="production"
# Database connection information
DB_TYPE="mysql"
DB_HOST="mysql_db" # When using docker, use the docker service name for the value of DB_HOST
DB_PORT=3306
DB_USER="root"
DB_PASSWORD="root"
DB_DATABASE="hub"
# URLs for the Hub and Auth platform
HUB_URL=http://localhost:8020
AUTH_URL=http://localhost:8000
# Password hashing setting
SALT="random string"
ITERATIONS=10000
KEY_LENGTH=100
DIGEST="sha512"
#Achievement token validation
ACHIEVEMENT_TOKEN_SALT="random string"
#Session Secret
SESSION_SECRET="cat"
#Logging
HUB_LOG_FILE_NAME="hub.log"
HARDWARE_LOG_FILE_NAME="hardware.log"
# One signal API keys
ONE_SIGNAL_API_KEY=""
ONE_SIGNAL_REST_API_KEY=""
ONE_SIGNAL_SAFARI_ID=""
ONE_SIGNAL_NOTIFICATION_HEADING="Hub"
ONE_SIGNAL_USER_SEGMENTS="All"
# Google Analytics GTAG ID
GOOGLE_ANALYTICS_ID=""
# hs_discord_bot_api
DISCORD_HMAC_KEY="Random string, but must match the string in hs_discord_bot_api"
DISCORD_CLIENT_ID="692...412"
DISCORD_HS_API_BASE="http://localhost:8082"
DISCORD_REDIRECT_URI="http://localhost:8020/user/discord_authentication"
TWITCH_CLIENT_ID="twitch api key"
TWITCH_TOKEN=token
POSITIONSTACK_API_KEY="position stack api key for forward geocoding"
HS_AUTH_SERVICE_TOKEN=token