-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.example
28 lines (21 loc) · 986 Bytes
/
.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
################### ************IMPORTANT************ ###################
# DO NOT CHANGE THE **PASSWORD_HASH_SECRET** ONCE RUNNING, IF CHANGED,AFTER RESTART,
# YOU WON'T BE ABLE TO AUTHENTICATE USERS BASED ON THEIR PASSWORDS
# RECOMMENDED: BACKUP **PASSWORD_HASH_SECRET**
# Set MongoDB URL and password
#MONGODB_URI="mongodb://user:pwd@localhost:27017" #Must provide Username and Password in the URL
MONGODB_URI="mongodb://user:pwd@localhost:27017"
# Set Redis URL and password
REDIS_URL="localhost:6379"
REDIS_PASSWORD="<REDIS_PASSWORD>"
# Set JWT secret key
JWT_SECRET=""
# Set password hashing secret key
PASSWORD_HASH_SECRET=""
#Set the email you want to use for sending emails for verification, registration etc
OFFICIAL_EMAIL=""
#Add APP Password here
OFFICIAL_EMAIL_APP_PASSWORD=""
#Setup the Redis password by first locating /etc/redis/redis.conf file, then,
#Uncomment this line "# requirepass foobared"
#And make it to "requirepass <your_super_secure_password>"