forked from CAMAP-APP/camap-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env
61 lines (56 loc) · 1.14 KB
/
.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
56
57
58
59
60
61
#
# AUTH
#
CAMAP_KEY=BvA8wNG6H5Ruz69FfW3t
JWT_ACCESS_TOKEN_SECRET=cAIRkyhwTdq
# 15 minutes in seconds
JWT_ACCESS_TOKEN_EXPIRATION_TIME=900
JWT_REFRESH_TOKEN_SECRET=tsHJ9NBUcGO18eljNukjhhLIh06SkYqQ
# 1 month in seconds
JWT_REFRESH_TOKEN_EXPIRATION_TIME=2629746
#
# DB
#
DB_CONNECTION = mysql
DB_HOST = loc-mysql
DB_USERNAME = docker
DB_PASSWORD = docker
DB_DATABASE = db-camap
DB_PORT = 3306
DB_SYNCHRONIZE = false
DB_ENTITIES = ./dist/**/*.entity.js
DB_LOGGING = false
#
# MAIL
#
MAILER_TRANSPORT=smtp
SMTP_HOST=localhost
SMTP_PORT=587
SMTP_SECURE=false
SMTP_AUTH_USER=user
SMTP_AUTH_PASS=password
#
# MAPBOX
#
MAPBOX_KEY=pk.eyJ1IjoiZGVsdGEtc3R1ZHVlbnQiLCJhIjoiY2xvMDk0MTVhMTJ3ZDJrcGR5ZDFkaHl4ciJ9.Gj2VU1wvxc7rFVt5E4KLOQ
#
#NODE
#
#NODE_ENV=production
#NODE_ENV=development
#COMMENT IF NOT USING AUTOSIGNED CERTIFICATES ON CAMAP_HOST
NODE_TLS_REJECT_UNAUTHORIZED='0'
#
# MISC
#
API_HOSTNAME=nest-loc-camap
API_PORT=3010
CAMAP_HOST=https://camap.localdomain
CAMAP_BRIDGE_API=http://nest-loc-camap:3010
FRONT_URL=https://api.camap.localdomain
FRONT_GRAPHQL_URL=https://api.camap.localdomain/graphql
HX_TRIGGER_CRONS=true
#
# THEME
#
THEME_ID=default