Skip to content

Commit a7222d7

Browse files
Thomas TupperThomas Tupper
authored andcommitted
fix(external-smoke): make store bootable and include qdrant in external topology
1 parent fedf2f0 commit a7222d7

1 file changed

Lines changed: 12 additions & 4 deletions

File tree

compose.external.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,31 @@
11
# External mode: no infer container; store points to any OpenAI-compatible endpoint.
22
services:
3+
qdrant:
4+
image: qdrant/qdrant:latest
5+
container_name: foxmemory-qdrant
6+
ports:
7+
- "6333:6333"
8+
volumes:
9+
- foxmemory_store_data:/qdrant/storage
10+
311
store:
412
image: ${FOXMEMORY_STORE_IMAGE}
513
container_name: foxmemory-store
14+
command: ["sh", "-lc", "cd /tmp && node /app/dist/index.js"]
615
ports:
716
- "8082:8082"
8-
- "6333:6333"
917
environment:
1018
- OPENAI_BASE_URL=${OPENAI_BASE_URL}
1119
- OPENAI_API_KEY=${OPENAI_API_KEY}
1220
- MEM0_LLM_MODEL=${MEM0_LLM_MODEL}
1321
- MEM0_EMBED_MODEL=${MEM0_EMBED_MODEL}
14-
- QDRANT_HOST=127.0.0.1
22+
- QDRANT_HOST=qdrant
1523
- QDRANT_PORT=6333
1624
- QDRANT_COLLECTION=${QDRANT_COLLECTION}
1725
- MEM0_HISTORY_DB_PATH=/tmp/history.db
1826
- QDRANT_STORAGE_PATH=/qdrant/storage
19-
volumes:
20-
- foxmemory_store_data:/qdrant/storage
27+
depends_on:
28+
- qdrant
2129

2230
volumes:
2331
foxmemory_store_data:

0 commit comments

Comments
 (0)