-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
27 lines (27 loc) · 906 Bytes
/
docker-compose.yml
File metadata and controls
27 lines (27 loc) · 906 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
services:
coding-agent:
image: ${CODING_AGENT_BOX_IMAGE:-ghcr.io/computbiol/coding-agent-box:latest}
container_name: coding-agent-box
stdin_open: true
tty: true
working_dir: /home/agent/projects
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities:
- gpu
environment:
NVIDIA_VISIBLE_DEVICES: all
NVIDIA_DRIVER_CAPABILITIES: all
TZ: Asia/Shanghai
volumes:
- ${HOME}/coding-agent-box/projects:/home/agent/projects
- ${HOME}/coding-agent-box/configs/.opencode:/home/agent/.opencode
- ${HOME}/coding-agent-box/configs/.claude:/home/agent/.claude
- ${HOME}/coding-agent-box/configs/.codex:/home/agent/.codex
- ${HOME}/coding-agent-box/configs/.pi:/home/agent/.pi
command: sleep infinity
restart: unless-stopped