Update 2026-05-18 14:31:53

This commit is contained in:
yi
2026-05-18 14:31:54 +08:00
parent df33ce2f18
commit b77e2d8a7a
54 changed files with 1003 additions and 2699 deletions
+3 -3
View File
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
# Docker 容器启动入口脚本
# 功能:等待数据库就绪,执行迁移,启动应用
@@ -31,8 +31,8 @@ echo "================================================"
# 数据库配置(从环境变量读取)
DB_HOST="${DB_HOST:-postgres}"
DB_PORT="${DB_PORT:-5432}"
DB_USER="${POSTGRES_USER:-mumuai}"
DB_NAME="${POSTGRES_DB:-mumuai_novel}"
DB_USER="${POSTGRES_USER:-mumulingsi}"
DB_NAME="${POSTGRES_DB:-mumulingsi_novel}"
# 等待数据库就绪
echo "⏳ 等待数据库启动..."