-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
64 lines (60 loc) · 2.19 KB
/
docker-compose.yml
File metadata and controls
64 lines (60 loc) · 2.19 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
# ╔═══════════════════════════════════════════════════════════════════════════╗
# ║ Shipwright — Docker Compose ║
# ║ docker compose up -d ║
# ╚═══════════════════════════════════════════════════════════════════════════╝
services:
shipwright:
build: .
container_name: shipwright
environment:
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY:-}
- GITHUB_TOKEN=${GITHUB_TOKEN:-}
- SHIPWRIGHT_LOCAL=${SHIPWRIGHT_LOCAL:-0}
- NO_GITHUB=${NO_GITHUB:-0}
volumes:
# Mount your project for pipeline processing
- ${PROJECT_DIR:-.}:/workspace
# Persist shipwright state across restarts
- shipwright-data:/root/.shipwright
# Persist Claude config
- claude-config:/root/.claude
working_dir: /workspace
ports:
- "8767:8767" # Dashboard
tty: true
stdin_open: true
entrypoint: ["bash"]
command: ["-c", "shipwright dashboard start && exec bash"]
# Daemon mode: watches for labeled GitHub issues and auto-processes them
daemon:
build: .
container_name: shipwright-daemon
environment:
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY:-}
- GITHUB_TOKEN=${GITHUB_TOKEN:-}
volumes:
- ${PROJECT_DIR:-.}:/workspace
- shipwright-data:/root/.shipwright
- claude-config:/root/.claude
working_dir: /workspace
entrypoint: ["shipwright"]
command: ["daemon", "start"]
restart: unless-stopped
profiles:
- daemon
# Dashboard only: real-time web UI
dashboard:
build: .
container_name: shipwright-dashboard
volumes:
- shipwright-data:/root/.shipwright
ports:
- "8767:8767"
entrypoint: ["shipwright"]
command: ["dashboard", "start", "--foreground"]
restart: unless-stopped
profiles:
- dashboard
volumes:
shipwright-data:
claude-config: