-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.example
42 lines (35 loc) · 880 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
39
40
41
# Stage status to start server:
# - "dev", for start server without graceful shutdown
# - "prod", for start server with graceful shutdown
STAGE_STATUS="dev"
# Server settings:
SERVER_HOST="0.0.0.0"
SERVER_PORT=5001
SERVER_READ_TIMEOUT=60
# CORS settings:
CORS_ALLOW_ORIGINS="http://localhost:3000"
# Database settings:
DB_HOST="localhost"
DB_PORT=5432
DB_USER="postgres"
DB_PASSWORD="password"
DB_NAME="postgres"
DB_SSL_MODE="disable"
DB_MAX_CONNECTIONS=100
DB_MAX_IDLE_CONNECTIONS=10
DB_MAX_LIFETIME_CONNECTIONS=2
# Valkey settings:
VALKEY_HOST="localhost"
VALKEY_PORT=6379
VALKEY_CLIENT_NAME=""
VALKEY_USERNAME=""
VALKEY_PASSWORD=""
VALKEY_DB_NUMBER=0
# Machine settings:
MACHINE_KEY=""
# Token settings:
TOKEN_REFRESH_EXPIRE_HOURS=24
TOKEN_ACCESS_EXPIRE_MINUTES=10
TOKEN_PASSWORD_RESET_EXPIRE_MINUTES=60
TOKEN_EMAIL_VERIFICATION_EXPIRE_HOURS=24
TOKEN_SECRET_KEY=dev