Skip to content

Commit 4e0488d

Browse files
Thomas TupperThomas Tupper
authored andcommitted
chore(deploy): one-node mode uses store image with embedded qdrant
1 parent ddd4e1f commit 4e0488d

2 files changed

Lines changed: 8 additions & 13 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Deployment pack for FoxMemory (Node/TS services + Mem0 OSS-compatible store).
44

55
## Modes
6-
1. `compose.one.yml` — one-node (qdrant + infer + store)
6+
1. `compose.one.yml` — one-node (infer + store with embedded qdrant)
77
2. `compose.split.yml` — split topology for Mini/R720 style deployments
88

99
## Quick start
@@ -32,4 +32,4 @@ curl -s -X POST http://localhost:8082/v1/memories/search \
3232
## Notes
3333
- Uses Docker Hub images by default.
3434
- Configure OPENAI_API_KEY if using OpenAI LLM/embedder path.
35-
- Qdrant persists in named Docker volume.
35+
- In one-node mode, Qdrant is embedded in store and persisted via `foxmemory_store_data`.

compose.one.yml

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,4 @@
11
services:
2-
qdrant:
3-
image: qdrant/qdrant:v1.13.2
4-
container_name: foxmemory-qdrant
5-
ports:
6-
- "6333:6333"
7-
volumes:
8-
- qdrant_data:/qdrant/storage
9-
102
infer:
113
image: ${FOXMEMORY_INFER_IMAGE}
124
container_name: foxmemory-infer
@@ -21,17 +13,20 @@ services:
2113
container_name: foxmemory-store
2214
ports:
2315
- "8082:8082"
16+
- "6333:6333"
2417
environment:
2518
- OPENAI_API_KEY=${OPENAI_API_KEY}
2619
- MEM0_LLM_MODEL=${MEM0_LLM_MODEL}
2720
- MEM0_EMBED_MODEL=${MEM0_EMBED_MODEL}
28-
- QDRANT_HOST=qdrant
21+
- QDRANT_HOST=127.0.0.1
2922
- QDRANT_PORT=6333
3023
- QDRANT_COLLECTION=${QDRANT_COLLECTION}
3124
- MEM0_HISTORY_DB_PATH=/tmp/history.db
25+
- QDRANT_STORAGE_PATH=/qdrant/storage
26+
volumes:
27+
- foxmemory_store_data:/qdrant/storage
3228
depends_on:
33-
- qdrant
3429
- infer
3530

3631
volumes:
37-
qdrant_data:
32+
foxmemory_store_data:

0 commit comments

Comments
 (0)