-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.dev
39 lines (31 loc) · 979 Bytes
/
.env.dev
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
# if you update this file, update .env.example and .env.config.ts
NODE_ENV=development
# test, development, production
PORT=4000
TZ=Etc/UTC
# database
DATABASE_URL="mysql://root:myPassWord@localhost:3308/test" # test, test
# redis
REDIS_URL="redis://default:1234567@localhost:6379"
# redis cluster (not used)
REDIS_CLUSTER_ENABLE='false'
REDIS_CLUSTER_URLS="one,two,three"
REDIS_CLUSTER_PORT="6379"
# access token
ACCESS_TOKEN_VALIDITY=7 # in days
# enable socket
ENABLE_SOCKET='false'
# logger
LOKI_HOST="https://xxxxx.grafana.net"
LOKI_AUTH="xxxxxxxxxxxxxxxxxxxxxxxxx"
# SMTP Mail
SMTP_HOST="smtp-relay.xxxx.com"
SMTP_PORT=587
SMTP_USER="xxxxx@gmail.com"
SMTP_PASSWORD="xxxxxxx"
SMTP_EMAIL_FROM="NestPress <no-reply@nestpress.app>"
# google login
G_WEB_CLIENT_ID="XXXXX-XXXXX.apps.googleusercontent.com"
G_ANDROID_CLIENT_ID="XXXXX-XXXXX.apps.googleusercontent.com"
G_IOS_CLIENT_ID="XXXXX-XXXXX.apps.googleusercontent.com" # not used
G_SECRET_ID="XXX-XXXXX" # not used