-
-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
29 lines (28 loc) · 778 Bytes
/
docker-compose.yml
File metadata and controls
29 lines (28 loc) · 778 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
28
29
services:
pilot:
build:
context: .
args:
VERSION: ${VERSION:-dev}
BUILD_TIME: ${BUILD_TIME:-}
image: pilot:${VERSION:-dev}
ports:
- "9090:9090"
volumes:
# Persistent SQLite data — required across restarts
- pilot-data:/home/pilot/.pilot/data
# Mount your config file (copy configs/pilot.example.yaml → config.yaml)
- ./config.yaml:/home/pilot/.pilot/config.yaml:ro
environment:
- ANTHROPIC_API_KEY
- GITHUB_TOKEN
command: ["start", "--github", "--autopilot=dev"]
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-sf", "http://localhost:9090/health"]
interval: 30s
timeout: 5s
start_period: 15s
retries: 3
volumes:
pilot-data: