-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.opencode-swarm.yml
More file actions
66 lines (61 loc) · 1.32 KB
/
docker-compose.opencode-swarm.yml
File metadata and controls
66 lines (61 loc) · 1.32 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
version: '3.8'
services:
opencode-agent:
image: node:20-slim
command: sh -c "npm install -g opencode-ai && tail -f /dev/null"
deploy:
replicas: 1
resources:
limits:
cpus: '0.5'
memory: 512M
placement:
constraints:
- node.role == worker
networks:
- yennefer-network
volumes:
- /home/yenn:/workspace:ro
- opencode-config:/root/.opencode
environment:
- OPENCODE_REMOTE_OFFLOAD=true
- DUAL_BRIDGE_MODE=enabled
- GITHUB_ACTIONS_OFFLOAD=true
diamond-vault:
image: yennefer-bench:latest
command: python3 -m genesis_q_mem.diamond_vault
deploy:
replicas: 1
resources:
limits:
cpus: '1.0'
memory: 1G
networks:
- yennefer-network
ports:
- "8100:8100"
volumes:
- /dev/shm:/dev/shm
- opencode-workspace:/workspace
qmcp-bridge:
image: yennefer-bench:latest
command: python3 qmcp_system.py
deploy:
replicas: 1
resources:
limits:
cpus: '0.5'
memory: 512M
networks:
- yennefer-network
ports:
- "8003:8003"
environment:
- OPENCODE_ENABLED=true
networks:
yennefer-network:
driver: overlay
attachable: true
volumes:
opencode-config:
opencode-workspace: