From f2f10d543edc139be758751752bd340ff38d5ed9 Mon Sep 17 00:00:00 2001 From: wangbo Date: Fri, 20 Mar 2026 18:24:30 +0800 Subject: [PATCH] =?UTF-8?q?```=20chore(config):=20=E7=A7=BB=E9=99=A4=20MEM?= =?UTF-8?q?ORY=5FDATABASE=5FURL=20=E9=85=8D=E7=BD=AE=E5=B9=B6=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=20docker-compose=20=E7=8E=AF=E5=A2=83=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除了 .env.AMS.sample 中的 MEMORY_DATABASE_URL 配置项 - 在 docker-compose.yml 中为服务添加了 .env.ASG 环境文件引用 - 更新了环境配置文件的加载方式 ``` --- .env.AMS.sample | 3 --- docker-compose.yml | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.env.AMS.sample b/.env.AMS.sample index 72385e3..4d5be70 100644 --- a/.env.AMS.sample +++ b/.env.AMS.sample @@ -4,9 +4,6 @@ # ============================================ # ---------- PostgreSQL(复用 easyai-pgvector)---------- -# 使用独立库 easyai_memory(init 脚本在首次启动时创建) -# agent-memory 启动时执行 prisma migrate deploy 创建 memory_records 等表 -MEMORY_DATABASE_URL=postgresql://easyai:easyai2025@easyai-pgvector:5432/easyai_memory?schema=public # ---------- 主服务连接(用于 Embedding 与对话压缩)---------- # 主服务 API 地址(容器内网地址) diff --git a/docker-compose.yml b/docker-compose.yml index 3c1ef8d..aafa690 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -431,6 +431,7 @@ services: restart: unless-stopped env_file: - .env.AMS + - .env.ASG logging: driver: "json-file" options: