-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
33 lines (31 loc) · 855 Bytes
/
docker-compose.yml
File metadata and controls
33 lines (31 loc) · 855 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
services:
postgres:
image: pgvector/pgvector:pg17
environment:
POSTGRES_USER: memory
POSTGRES_PASSWORD: memory
POSTGRES_DB: memory
volumes:
- postgres_data:/var/lib/postgresql/data
- ./docker/initdb:/docker-entrypoint-initdb.d
healthcheck:
test: ["CMD-SHELL", "pg_isready -U memory"]
interval: 5s
timeout: 5s
retries: 5
memory:
build: .
depends_on:
postgres:
condition: service_healthy
environment:
ASYNC_DATABASE_URL_V3: postgresql://memory:memory@postgres:5432/memory_v3
DATABASE_URL_V3: postgresql+psycopg2://memory:memory@postgres:5432/memory_v3
MCP_PORT: "8765"
ports:
- "${MCP_HOST_PORT:-8765}:8765"
volumes:
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
volumes:
postgres_data: