-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.test
More file actions
29 lines (24 loc) 路 789 Bytes
/
Copy path.env.test
File metadata and controls
29 lines (24 loc) 路 789 Bytes
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
# 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=5000
SERVER_READ_TIMEOUT=5
SERVER_WRITE_TIMEOUT=10
SERVER_IDLE_TIMEOUT=120
MAX_UPLOAD_FILE_SIZE=3145728 # 3 Mb
# CORS settings:
CORS_ALLOW_ORIGINS="http://localhost:3000"
# JWT settings:
JWT_SECRET_KEY="secret"
JWT_SECRET_KEY_EXPIRE_MINUTES_COUNT=15
# CDN settings:
CDN_PUBLIC_URL="https://cdn.example.com"
# DO Spaces settings:
DO_SPACES_ENDPOINT="spaces-endpoint"
DO_SPACES_BUCKET_NAME="my-bucket-name"
DO_SPACES_ACCESS_KEY_ID="spaces-access-key-id-here"
DO_SPACES_SECRET_ACCESS_KEY="spaces-secret-access-key-here"
DO_SPACES_UPLOADS_FOLDER_NAME="my-upload-folder-name"