-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
27 lines (26 loc) · 886 Bytes
/
docker-compose.yml
File metadata and controls
27 lines (26 loc) · 886 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
version: '3.8'
services:
hive-mind-solver:
build: .
volumes:
# Mount GitHub credentials
- ~/.config/gh:/home/box/.persisted-configs/gh:ro
# Mount Claude credentials (adjust paths as needed)
- ~/.local/share/claude-profiles:/home/box/.persisted-configs/claude:ro
- ~/.config/claude-code:/home/box/.persisted-configs/claude-code:ro
# Mount working directory for persistent changes
- ./output:/home/box/output
environment:
# Pass through any needed environment variables
- GITHUB_TOKEN=${GITHUB_TOKEN:-}
- CLAUDE_API_KEY=${CLAUDE_API_KEY:-}
command: |
bash -c "
# Restore credentials first
./docker-restore-auth.sh
# Then run the solve script with passed arguments
exec ./solve.mjs $$@
"
# Allow passing arguments to solve.mjs
stdin_open: true
tty: true