Files
labweb/web/ws/backend/.env.example
2025-11-22 21:29:00 +08:00

23 lines
507 B
Plaintext

# 项目信息
PROJECT_NAME=PBMDB API
VERSION=1.0.0
API_V1_STR=/api/v1
# 数据库配置
DATABASE_URL=postgresql://webws_admin:your_password_here@postgres:5432/webws_database
# 安全配置
SECRET_KEY=your-secret-key-here-change-in-production-use-at-least-32-chars
ACCESS_TOKEN_EXPIRE_MINUTES=10080
# CORS 配置
ALLOWED_ORIGINS=https://amiap.hzau.edu.cn,http://localhost:3000
# 文件上传配置
MAX_UPLOAD_SIZE=104857600
UPLOAD_DIR=/app/uploads
# 分页配置
DEFAULT_PAGE_SIZE=20
MAX_PAGE_SIZE=100