generated from filoscoder/tenstack-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
38 lines (32 loc) · 797 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
29
30
31
32
33
34
35
36
37
38
# Application
PORT=8080
APP_HOST='127.0.0.1'
# Environment
NODE_ENV=<NODE_ENV>
# Log
LOGGING_DIR=logs
LOGGING_LEVEL=debug
LOGGING_MAX_FILES=5
# Database
DB_HOST=127.0.0.1
DB_USER=<YOUR_DB_USER>
DB_NAME=<YOUR_DB_NAME>
DB_PASSWORD=<YOUR_DB_PASSWORD>
# Auth
SALT_ROUNDS=<HASH_ROUNDS>
ACCESS_TOKEN_SALT=<SALT_FOR_ACCESS_TOKEN>
REFRESH_TOKEN_SALT=<SALT_FOR_REFRESH_TOKEN>
ACCESS_TOKEN_DURATION=<DURATION_FOR_ACCESS_TOKEN>
REFRESH_TOKEN_DURATION=<DURATION_FOR_REFRESH_TOKEN>
# AWS
AWS_ACCESS_KEY=<AWS_ACCESS_KEY>
AWS_SECRET_KEY=<AWS_SECRET_KEY>
AWS_REGION=<AWS_REGION>
S3_BUCKET_NAME=<S3_BUCKET_NAME>
S3_BUCKET_PATH=<S3_BUCKET_PATH>
EC2_PEM_PATH=<EC2_PEM_PATH>
EC2_HOST=<EC2_HOST>
COGNITO_USER_POOL_ID=<COGNITO_USER_POOL_ID>
COGNITO_CLIENT_ID=<COGNITO_CLIENT_ID>
# 3rd-party-API
API_KEY=<API_KEY>