| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- # ===================================
- # 数据库配置
- # ===================================
- # PostgreSQL 数据库连接字符串
- DATABASE_URL="postgresql://postgres:123456@localhost:5432/vue3_admin"
- # PostgreSQL 数据库密码(用于Docker部署)
- POSTGRES_PASSWORD=123456
- # ===================================
- # 应用配置
- # ===================================
- # 应用运行环境
- NODE_ENV=production
- # JWT密钥
- JWT_SECRET=your-jwt-secret-key-here
- # Session密钥
- SESSION_SECRET=your-session-secret-key-here
- # ===================================
- # 服务端口配置
- # ===================================
- # 后端API服务端口
- API_PORT=6666
- # 前端服务端口(Nginx)
- WEB_PORT=80
- # ===================================
- # 文件上传配置
- # ===================================
- # 上传文件存储路径
- UPLOAD_PATH=./server/upload
- # 最大文件上传大小(MB)
- MAX_FILE_SIZE=100
- # ===================================
- # 日志配置
- # ===================================
- # 日志级别 (error, warn, info, debug)
- LOG_LEVEL=info
- # 日志文件路径
- LOG_PATH=./logs
- # ===================================
- # 邮件配置(可选)
- # ===================================
- # SMTP服务器配置
- SMTP_HOST=smtp.example.com
- SMTP_PORT=587
- SMTP_USER=your-email@example.com
- SMTP_PASS=your-email-password
- # ===================================
- # 其他配置
- # ===================================
- # API基础URL
- API_BASE_URL=http://localhost:6666/api
- # 前端基础URL
- WEB_BASE_URL=http://localhost
- # 是否启用Swagger文档
- ENABLE_SWAGGER=true
|