-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
60 lines (57 loc) · 1.53 KB
/
Copy pathdocker-compose.yml
File metadata and controls
60 lines (57 loc) · 1.53 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
services:
qdrant:
image: qdrant/qdrant:latest
container_name: qdrant
restart: unless-stopped
ports:
- "6333:6333"
- "6334:6334"
volumes:
- qdrant_storage:/qdrant/storage:z
healthcheck:
test: ["CMD-SHELL", "bash -c 'echo > /dev/tcp/localhost/6333'"]
interval: 5s
timeout: 3s
retries: 10
networks:
- nexus
code_nexus:
image: iksnerd/code-nexus:latest
container_name: code_nexus
restart: unless-stopped
ports:
- "4100:4100"
- "3002:3002"
environment:
MIX_ENV: prod
QDRANT_URL: "http://qdrant:6333"
MCP_HTTP_PORT: "3002"
OLLAMA_URL: "http://host.docker.internal:11434"
OLLAMA_MODEL: "${OLLAMA_MODEL:-embeddinggemma:300m}"
EMBEDDING_BACKEND: "${EMBEDDING_BACKEND:-}"
WORKSPACE_HOST: "${WORKSPACE_HOST:-}"
WORKSPACE_HOST_2: "${WORKSPACE_HOST_2:-}"
WORKSPACE_HOST_3: "${WORKSPACE_HOST_3:-}"
WORKSPACE_HOST_4: "${WORKSPACE_HOST_4:-}"
WORKSPACE_HOST_5: "${WORKSPACE_HOST_5:-}"
depends_on:
qdrant:
condition: service_healthy
volumes:
- ${WORKSPACE:-.}:/workspace:ro
- ${WORKSPACE_2:-.}:/workspace2:ro
- ${WORKSPACE_3:-.}:/workspace3:ro
- ${WORKSPACE_4:-.}:/workspace4:ro
- ${WORKSPACE_5:-.}:/workspace5:ro
networks:
- nexus
healthcheck:
test: ["CMD-SHELL", "bash -c 'echo > /dev/tcp/localhost/4100'"]
interval: 5s
timeout: 3s
retries: 10
volumes:
qdrant_storage:
networks:
nexus:
driver: bridge