feat(deploy): 在同一台机器上接入继续教育和 Dify
4 核 8G 同时跑协会站点、PlayEdu 和估价智能体,并让门户专家页底色透出页面背景。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
1b33361209
commit
a8e2e741d1
24 files changed
+1035
-85
No files matched your search
@@ -29,5 +29,17 @@ if curl -fsS -H "Host: ${SITE_DOMAIN}" http://127.0.0.1/api/site/health; then
|
||||
else
|
||||
code=1
|
||||
fi
|
||||
echo -n "继续教育 "
|
||||
if curl -fsS -o /dev/null -w "%{http_code}\n" -H "Host: ${EDU_DOMAIN}" http://127.0.0.1/; then
|
||||
true
|
||||
else
|
||||
code=1
|
||||
fi
|
||||
echo -n "Dify "
|
||||
if curl -fsS -o /dev/null -w "%{http_code}\n" -H "Host: ${AI_DOMAIN}" http://127.0.0.1/; then
|
||||
true
|
||||
else
|
||||
code=1
|
||||
fi
|
||||
docker compose ps
|
||||
exit "$code"
|
||||
Reference in new issue
Block a user