improvement(OpenMemory MCP): Improves Docker Compose commands (#2681)

Co-authored-by: Deshraj Yadav <deshrajdry@gmail.com>
This commit is contained in:
Saket Aryan
2025-05-14 13:44:08 +05:30
committed by GitHub
parent da59412150
commit a22287a3ba
10 changed files with 45 additions and 78 deletions

View File

@@ -1,2 +1 @@
OPENAI_API_KEY=sk-...
USER=username
OPENAI_API_KEY=sk-xxx

View File

@@ -11,7 +11,14 @@ The easiest way to get started is using Docker. Make sure you have Docker and Do
make build
```
2. Start the services:
2. Create `.env` file:
```bash
make env
```
Once you run this command, edit the file `api/.env` and enter the `OPENAI_API_KEY`.
3. Start the services:
```bash
make up
```

View File

@@ -1,26 +0,0 @@
services:
mem0_store:
image: qdrant/qdrant
ports:
- "6333:6333"
volumes:
- mem0_storage:/mem0/storage
api:
image: mem0/openmemory-mcp
build: .
environment:
- OPENAI_API_KEY
- USER
env_file:
- .env
depends_on:
- mem0_store
ports:
- "8765:8765"
volumes:
- .:/usr/src/openmemory
command: >
sh -c "uvicorn main:app --host 0.0.0.0 --port 8765 --reload --workers 4"
volumes:
mem0_storage: