fix(infra): NATS 加 JetStream 数据卷 + Docker 项目归一到连字符
目录改名(下划线→连字符)导致 NATS(绑定宿主机文件)挂载路径烤死、退出127;
其余容器(命名卷)不受影响,造成 Docker 项目分裂。
- docker-compose: NATS 挂 nats_data:/data/jetstream,重启不丢任务流
- 运维: 拆除旧下划线项目(容器/网络/卷) + 残留空目录,全栈在 sundynix-agentix_default
单网络/单项目重建;重新登记 DeepSeek(chat)/百炼(embedding) + 画像 + KB
- 验证: 7 容器同网络;记忆('老王')+RAG(retriever→Milvus) 端到端通;JetStream 落盘
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -8,6 +8,7 @@ services:
|
|||||||
ports: ["4222:4222", "8222:8222"]
|
ports: ["4222:4222", "8222:8222"]
|
||||||
volumes:
|
volumes:
|
||||||
- ./deploy/nats/nats-server.conf:/etc/nats/nats-server.conf:ro
|
- ./deploy/nats/nats-server.conf:/etc/nats/nats-server.conf:ro
|
||||||
|
- nats_data:/data/jetstream # JetStream 持久化,重启不丢任务流
|
||||||
|
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:16-alpine
|
image: postgres:16-alpine
|
||||||
@@ -64,6 +65,7 @@ services:
|
|||||||
volumes: ["neo4j_data:/data"]
|
volumes: ["neo4j_data:/data"]
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
|
nats_data:
|
||||||
pg_data:
|
pg_data:
|
||||||
milvus_etcd:
|
milvus_etcd:
|
||||||
milvus_minio:
|
milvus_minio:
|
||||||
|
|||||||
Reference in New Issue
Block a user