improvement(OpenMemory MCP): Improves Docker Compose commands (#2681)
Co-authored-by: Deshraj Yadav <deshrajdry@gmail.com>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
OPENAI_API_KEY=sk-...
|
||||
USER=username
|
||||
OPENAI_API_KEY=sk-xxx
|
||||
@@ -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
|
||||
```
|
||||
|
||||
@@ -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:
|
||||
Reference in New Issue
Block a user