-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (39 loc) · 1.12 KB
/
Copy pathdocker-compose.yml
File metadata and controls
41 lines (39 loc) · 1.12 KB
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
35
36
37
38
39
40
41
services:
db:
image: pgvector/pgvector:0.8.2-pg16
restart: unless-stopped
volumes:
- db_data:/var/lib/postgresql/data
ports:
- "5450:5432"
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: remembrall
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres -d remembrall"]
interval: 5s
timeout: 5s
retries: 10
start_period: 10s
remembrall:
build:
context: .
dockerfile: Dockerfile
depends_on:
db:
condition: service_healthy
environment:
DATABASE_URL: postgres://postgres:postgres@db:5432/remembrall
volumes:
# Persists config (~/.remembrall/config.toml) and embedding model cache
- remembrall_home:/home/remembrall
# MCP uses stdio - keep stdin open so the server stays alive while idle
stdin_open: true
tty: true
# No command override: the image entrypoint runs `remembrall init`
# (idempotent schema + model setup) then `remembrall serve`, so the
# container stays running and `docker compose exec` works.
volumes:
db_data:
remembrall_home: