feat: 新增 Agent 记忆服务部署、重命名容器、整理 env 配置
- 新增 agent-memory 服务与 .env.AMS.sample - easyai-pgvector 共用 PostgreSQL,独立库 easyai_memory - 新增 docker/postgres/init-pgvector.sql 初始化 - 容器名: comfyAI-web→easyai-web, comfy-server→easyai-server - easyai-asg-pg→easyai-pgvector - 记忆服务端口配置移至 .env(comfy-server 调用用) - 整理 .env.sample 结构,新增 /ams-api/ Nginx 代理 Made-with: Cursor
This commit is contained in:
@@ -91,6 +91,19 @@ server {
|
||||
proxy_set_header Host $host;
|
||||
}
|
||||
|
||||
# Agent 记忆服务 API(可选,用于健康检查或外部调用)
|
||||
location /ams-api/ {
|
||||
proxy_pass http://127.0.0.1:3004/;
|
||||
proxy_read_timeout 300s;
|
||||
client_max_body_size 20M;
|
||||
proxy_redirect off;
|
||||
proxy_set_header X-Original-Prefix '/ams-api';
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header Host $host;
|
||||
}
|
||||
|
||||
location /plugins/ {
|
||||
proxy_pass http://127.0.0.1:3020/plugins/;
|
||||
proxy_redirect off;
|
||||
|
||||
Reference in New Issue
Block a user