Files
nebula/.env.example
2026-03-10 16:26:48 +08:00

20 lines
446 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 服务器配置
SERVER_ADDRESS=:9050
SERVER_MODE=dev # dev 或 prod
# 数据库配置
DATABASE_DSN=nebula.db
# 存储配置
STORAGE_TYPE=local
STORAGE_BASE_PATH=./uploads
STORAGE_BASE_URL=http://localhost:9050/files
# JWT 配置
JWT_SECRET=your-secret-key-change-in-production
JWT_ACCESS_TOKEN_DURATION=7200 # 2小时
JWT_REFRESH_TOKEN_DURATION=604800 # 7天
# 前端配置(生产环境)
# FRONTEND_PATH=./web/dist