-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
53 lines (49 loc) · 1.75 KB
/
Copy pathdocker-compose.yml
File metadata and controls
53 lines (49 loc) · 1.75 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
42
43
44
45
46
47
48
49
50
51
52
53
# memory-hall — minimal multi-host compose
#
# Default config: memory-hall only. Qdrant / Ollama are optional sidecars.
# For single-laptop minimum, see README quickstart.
services:
memory-hall:
build: .
image: memory-hall:0.1.0
ports:
- "9100:9000"
environment:
MH_HOST: 0.0.0.0
MH_PORT: "9000"
MH_DATABASE_PATH: /data/memory-hall.sqlite3
MH_VECTOR_DATABASE_PATH: /data/memory-hall-vectors.sqlite3
MH_OLLAMA_BASE_URL: ${MH_OLLAMA_BASE_URL:-http://host.docker.internal:11434}
MH_OLLAMA_MODEL: bge-m3
# Embedder selection: "ollama" (default, backward compat) or "http" (dedicated bge-m3 HTTP service)
MH_EMBEDDER_KIND: ${MH_EMBEDDER_KIND:-ollama}
MH_EMBED_BASE_URL: ${MH_EMBED_BASE_URL:-}
MH_HEALTH_EMBED_TIMEOUT_S: ${MH_HEALTH_EMBED_TIMEOUT_S:-3.0}
# Auth: leave empty for no-auth (dev/standalone). Set for production.
MH_API_TOKEN: ${MH_API_TOKEN:-}
volumes:
# Bind mount by default. Compose created a fresh empty named volume during a
# `docker run` → `docker compose up` migration in the 2026-04-20 incident;
# bind mount is transparent and compose cannot silently swap it.
# Override MEMHALL_DATA_DIR for production (e.g. ~/data/memory-hall).
- ${MEMHALL_DATA_DIR:-./mh-data}:/data
restart: unless-stopped
qdrant:
profiles: ["qdrant"]
image: qdrant/qdrant:v1.12.4
ports:
- "6333:6333"
volumes:
- qdrant-data:/qdrant/storage
restart: unless-stopped
# Optional: bundle Ollama if you don't have it elsewhere
# ollama:
# image: ollama/ollama:latest
# ports:
# - "11434:11434"
# volumes:
# - ollama-data:/root/.ollama
# restart: unless-stopped
volumes:
qdrant-data:
# ollama-data: