init: 初始化项目

This commit is contained in:
0264408
2026-03-10 16:26:48 +08:00
commit 57e0ef2cf6
79 changed files with 8943 additions and 0 deletions

25
config.prod.yaml Normal file
View File

@@ -0,0 +1,25 @@
server:
address: ":9050"
mode: "prod"
database:
dsn: "nebula.db"
storage:
type: "local"
basePath: "./uploads"
baseUrl: "http://localhost:9050/files"
jwt:
secret: "change-this-secret-in-production"
accessTokenDuration: 7200
refreshTokenDuration: 604800
frontend:
enabled: true
path: "./web/dist"
# ⚠️ 生产环境管理员账号 - 请务必修改密码!
admin:
username: "admin"
password: "CHANGE_THIS_PASSWORD"