forked from chriswritescode-dev/opencode-manager
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (43 loc) · 1.02 KB
/
docker-compose.yml
File metadata and controls
44 lines (43 loc) · 1.02 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
services:
app:
build:
context: .
dockerfile: Dockerfile
container_name: helm
ports:
- "5003:5003"
- "5100:5100"
- "5101:5101"
- "5102:5102"
- "5103:5103"
environment:
- NODE_ENV=production
- HOST=0.0.0.0
- PORT=5003
- OPENCODE_SERVER_PORT=5551
- DATABASE_PATH=/app/data/opencode.db
- WORKSPACE_PATH=/workspace
- PROCESS_START_WAIT_MS=2000
- PROCESS_VERIFY_WAIT_MS=1000
- HEALTH_CHECK_INTERVAL_MS=5000
- HEALTH_CHECK_TIMEOUT_MS=30000
- MAX_FILE_SIZE_MB=50
- MAX_UPLOAD_SIZE_MB=50
- SANDBOX_TTL_HOURS=24
- CLEANUP_INTERVAL_MINUTES=60
- DEBUG=false
volumes:
- helm-workspace:/workspace
- helm-data:/app/data
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:5003/api/health"]
interval: 30s
timeout: 3s
retries: 3
start_period: 40s
volumes:
helm-workspace:
driver: local
helm-data:
driver: local