-
Notifications
You must be signed in to change notification settings - Fork 1
/
.env.example
55 lines (42 loc) · 1.6 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
53
54
55
############################################################################################
# ! DO NOT USE QUOTES OR SPACES AROUND THE VALUES WHEN SETTING THE ENVIRONMENT VARIABLES ! #
############################################################################################
TZ=UTC
STAGE=local
NODE_ENV=development
PORT=8080
# https://github.com/denostack/inthash#usage
INTHASH_KEY=53.6456111708547433.3688000043513561.969402349590075
# https://sqids.org/playground
SQIDS_KEY=0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
# ./scripts/generate-key-pair.ts
JWT_SIGN_KEY='-----BEGIN PRIVATE KEY-----\n[PRIVATE KEY]\n-----END PRIVATE KEY-----\n'
JWT_VERIFY_KEY='-----BEGIN PUBLIC KEY-----\n[PUBLIC KEY]\n-----END PUBLIC KEY-----\n'
# https://github.com/vercel/ms#ms
JWT_ACCESS_EXPIRES_IN=42m
JWT_REFRESH_EXPIRES_IN=42d
DB_HOST=127.0.0.1
DB_PORT=3306
DB_NAME=promise
DB_USER=root
DB_PASSWORD=
REDIS_HOST=127.0.0.1
REDIS_PORT=6379
REDIS_PASSWORD=
# set empty to disable
NO_COLOR=
DEBUG_LAMBDA=
DEBUG_PRISMA=
DEBUG_MEMORY=
AWS_DEFAULT_REGION=
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_S3_BUCKET_NAME=
SLS_ACCESS_KEY=
#########################################################################
# ! DO NOT MODIFY THE VALUES BELOW UNLESS YOU KNOW WHAT YOU ARE DOING ! #
#########################################################################
HTTPS=api.local.promise-app.com
# https://www.prisma.io/docs/orm/overview/databases/mysql
DB_URL=mysql://${DB_USER}:${DB_PASSWORD}@${DB_HOST}:${DB_PORT}/${DB_NAME}_${STAGE}
DB_SHADOW_URL=mysql://root:${DB_PASSWORD}@${DB_HOST}:${DB_PORT}/${DB_NAME}_${STAGE}_shadow