-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
27 lines (22 loc) · 731 Bytes
/
Copy path.env.example
File metadata and controls
27 lines (22 loc) · 731 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
# Three F Application Environment Variables Example
# Copy this file to .env and update with your actual values
# Note: .env file is ignored by git for security
# Database Configuration
DB_URL=jdbc:mysql://localhost:3306/three_f?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
DB_USERNAME=root
DB_PASSWORD=your_database_password
# Redis Configuration
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=
REDIS_DATABASE=0
REDIS_TIMEOUT=2000ms
# JWT Configuration
JWT_SECRET=your_jwt_secret_key_at_least_32_characters_long_for_security
JWT_EXPIRATION=86400000
# Logging Configuration
LOG_LEVEL=INFO
SECURITY_LOG_LEVEL=WARN
# File Upload Configuration
UPLOAD_DIR=./uploads
MAX_FILE_SIZE=10485760