chore: 重构数据库迁移与 nginx 配置目录

This commit is contained in:
2026-06-24 21:58:50 +08:00
parent 0d8377c2fd
commit 5e0c1dd2c1
11 changed files with 91 additions and 45 deletions

View File

@@ -6,8 +6,8 @@
//
// 环境变量(与主程序相同):
//
// APP_ENV=production 使用生产数据库(默认使用开发测试库
// DB_DSN 自定义 DSN优先级最高
// DB_HOST/DB_PORT/DB_USER/DB_PASSWORD/DB_NAME 连接参数DB_NAME 默认 sproutgate
// DB_DSN 自定义 DSN优先级最高
package main
import (