-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.headroom.yml
More file actions
75 lines (72 loc) · 2 KB
/
Copy pathdocker-compose.headroom.yml
File metadata and controls
75 lines (72 loc) · 2 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
services:
# --- Headroom / Aphrodite proxy + memory stack ---
# Composite command:
# docker compose -f docker-compose.yml -f docker-compose.headroom.yml up -d
headroom-proxy:
build:
context: vendor/headroom
dockerfile: Dockerfile
command: ["--host", "0.0.0.0"]
ports:
- "8787:8787"
env_file:
- .env.headroom
environment:
- HEADROOM_HOST=0.0.0.0
- OPENAI_TARGET_API_URL=${HEADROOM_OPENAI_TARGET_API_URL:-}
volumes:
- headroom_workspace:/home/nonroot/.headroom
healthcheck:
test: ["CMD-SHELL", "curl -sf http://127.0.0.1:8787/readyz || exit 1"]
interval: 30s
timeout: 5s
retries: 3
start_period: 20s
depends_on:
headroom-qdrant:
condition: service_healthy
headroom-neo4j:
condition: service_healthy
restart: unless-stopped
headroom-qdrant:
image: qdrant/qdrant:v1.17.1
container_name: headroom-qdrant
ports:
- "127.0.0.1:6333:6333"
- "127.0.0.1:6334:6334"
volumes:
- headroom-qdrant-data:/qdrant/storage
environment:
- QDRANT__SERVICE__GRPC_PORT=6334
healthcheck:
test: ["CMD-SHELL", "curl -sf http://127.0.0.1:6333/healthz || exit 1"]
interval: 15s
timeout: 5s
retries: 3
start_period: 20s
restart: unless-stopped
headroom-neo4j:
image: neo4j:5.26
container_name: headroom-neo4j
ports:
- "127.0.0.1:7474:7474"
- "127.0.0.1:7687:7687"
volumes:
- headroom-neo4j-data:/data
environment:
- NEO4J_AUTH=${NEO4J_AUTH:-neo4j/CHANGEME}
- NEO4J_PLUGINS=["apoc"]
- NEO4J_apoc_export_file_enabled=true
- NEO4J_apoc_import_file_enabled=true
- NEO4J_apoc_import_file_use__neo4j__config=true
healthcheck:
test: ["CMD-SHELL", "curl -sf http://127.0.0.1:7474/ || exit 1"]
interval: 15s
timeout: 5s
retries: 3
start_period: 30s
restart: unless-stopped
volumes:
headroom_workspace:
headroom-qdrant-data:
headroom-neo4j-data: