-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
32 lines (30 loc) · 1.06 KB
/
docker-compose.yml
File metadata and controls
32 lines (30 loc) · 1.06 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
services:
mnemomatic:
container_name: mnemomatic-MCP
build:
context: .
target: full # use 'lite' for the smaller image (requires MNEMOMATIC_EMBED_URL)
# No ports exposed directly — all traffic goes through Caddy
# (or uncomment below for direct access: ports: ["${PORT:-8686}:8000"])
volumes:
- ./data:/data
environment:
- MNEMOMATIC_DB_PATH=/data/mnemomatic.db
# - MNEMOMATIC_API_KEY= # set a strong key: openssl rand -base64 32
# - MNEMOMATIC_EMBED_URL=http://ollama:11434/api/embeddings # required for lite image
# - MNEMOMATIC_EMBED_MODEL=nomic-embed-text # model name for external embedder
# - MNEMOMATIC_EMBED_DIM=768 # embedding dimension (default: 384)
caddy:
container_name: Caddy-MCP
image: caddy:2-alpine
ports:
- "80:80"
- "443:443"
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile:ro
- ./certs:/etc/caddy/certs:ro
- caddy_data:/data
depends_on:
- mnemomatic
volumes:
caddy_data: