feat: improve Docker deployment and Dify API configuration

- Use environment variables for Dify API key/URL
- Add host.docker.internal support in docker-compose
- Add DATABASE_URL env and prisma db push to Dockerfile
- Clean up test/requirement files and add deployment docs
This commit is contained in:
root
2026-05-09 16:05:23 +08:00
parent fa84aef544
commit 2336a2bd30
11 changed files with 373 additions and 57 deletions
+5
View File
@@ -0,0 +1,5 @@
Chat API error: TypeError: fetch failed
at async c (.next/server/app/api/chat/route.js:1:1010) {
[cause]: [Error [ConnectTimeoutError]: Connect Timeout Error (attempted address: df.clkeji.com:80, timeout: 10000ms)] {
code: 'UND_ERR_CONNECT_TIMEOUT'
} 该服务宿主机可通过localhost访问,怎么修改地址,能访问到该服务