feat(database): add automatic database creation for MySQL and PostgreSQL

This commit is contained in:
HouYunFei
2026-06-04 14:22:20 +08:00
parent 68aca6fa16
commit 163dc51203
5 changed files with 125 additions and 7 deletions
+1 -1
View File
@@ -43,4 +43,4 @@ RUN mkdir -p /app/data/prompts
EXPOSE 3000
# 先启动内部 Go API,再由 Next.js 提供页面并代理 /api/*。
CMD ["sh", "-c", "PORT=8080 /app/server & cd /app/web && node server.js"]
CMD ["sh", "-c", "PORT=8080 /app/server & cd /app/web && PORT=3000 node server.js"]