-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
34 lines (32 loc) · 815 Bytes
/
docker-compose.yml
File metadata and controls
34 lines (32 loc) · 815 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
34
# Engram v3: Postgres (pgvector) + MCP server (SSE)
services:
db:
image: pgvector/pgvector:pg16
environment:
POSTGRES_USER: engram
POSTGRES_PASSWORD: engram
POSTGRES_DB: engram
ports:
- "5432:5432"
volumes:
- engram_pgdata:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U engram -d engram"]
interval: 5s
timeout: 5s
retries: 5
engram:
build: .
depends_on:
db:
condition: service_healthy
environment:
DATABASE_URL: postgresql://engram:engram@db:5432/engram
ENGRAM_EMBEDDER: ${ENGRAM_EMBEDDER:-none}
OPENAI_API_KEY: ${OPENAI_API_KEY:-}
OLLAMA_URL: ${OLLAMA_URL:-}
ENGRAM_API_KEY: ${ENGRAM_API_KEY:-}
ports:
- "8788:8788"
volumes:
engram_pgdata: