forked from tduyng/nestjs-graphql-prisma
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.production.example
49 lines (39 loc) · 1.02 KB
/
.env.production.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
# Generals
NODE_ENV=development
SERVER_PORT=8010
SITE_URL=https://example.com
#-------------------------------------------------
# Database
DB_CONNECTOR=postgres
DB_HOST=postgres
DB_USER=postgres
DB_PASSWORD=postgres
DB_DATABASE=nest_graphql
DB_PORT=5432
DATABASE_URL=postgresql://${DB_USER}:${DB_PASSWORD}@${DB_HOST}:${DB_PORT}/${DB_DATABASE}?schema=public
#--------------------------------------------------
# Pgadmin
PGADMIN_DEFAULT_EMAIL=admin@admin.com
PGADMIN_DEFAULT_PASSWORD=admin
#--------------------------------------------------
# Email option
SMTP_SERVER=smtp.domain.com
SMTP_LOGIN=user@domain.com
SMTP_PASSWORD=password
SMTP_FROM_NAME=NestJS Dev
SMTP_FROM_EMAIL=user@outlook.com
#---------------------------------------------------
# Jwt options
JWT_PRIVATE_KEY=justanotherprivatekey
JWT_PUBLIC_KEY=notimportant
JWT_ALGORITHM=RS256
# 2h
JWT_EXPIRE_TIME=7200
# 30 day
JWT_EXPIRE_REFRESH_TIME=2592000
# Graphql options
GRAPHQL_PLAYGROUND=true
# Cookie
COOKIE_SECURE=true
COOKIE_SAMESITE=strict
COOKIE_DOMAIN='example.com'