-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
37 lines (34 loc) · 875 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
37 lines (34 loc) · 875 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
35
36
37
version: "3.8"
services:
graqle:
build: .
ports:
- "8000:8000"
environment:
- COGNIGRAPH_API_KEY=${COGNIGRAPH_API_KEY:-}
- COGNIGRAPH_RATE_LIMIT=${COGNIGRAPH_RATE_LIMIT:-10}
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY:-}
- OPENAI_API_KEY=${OPENAI_API_KEY:-}
volumes:
- ./graqle.yaml:/app/graqle.yaml:ro
- ./data:/app/data:ro
restart: unless-stopped
healthcheck:
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8000/health')"]
interval: 30s
timeout: 5s
retries: 3
# Optional: Neo4j for graph storage
neo4j:
image: neo4j:5
ports:
- "7474:7474"
- "7687:7687"
environment:
- NEO4J_AUTH=neo4j/${NEO4J_PASSWORD:-graqle}
volumes:
- neo4j_data:/data
profiles:
- neo4j
volumes:
neo4j_data: