-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
61 lines (57 loc) · 1.55 KB
/
Copy pathdocker-compose.yml
File metadata and controls
61 lines (57 loc) · 1.55 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
# docker-compose.yml — OS-APOW Orchestration Service (local development)
#
# Runs the orchestration server and client as networked containers.
# Usage: docker compose up
#
# Required env vars (set in .env or shell):
# ZHIPU_API_KEY, GH_ORCHESTRATION_AGENT_TOKEN, GITHUB_TOKEN,
# GITHUB_ORG, GITHUB_REPO, WEBHOOK_SECRET
services:
orchestration-server:
build:
context: .
dockerfile: Dockerfile
ports:
- "4096:4096"
environment:
- ZHIPU_API_KEY
- KIMI_CODE_ORCHESTRATOR_AGENT_API_KEY
- OPENAI_API_KEY
- GEMINI_API_KEY
- GH_ORCHESTRATION_AGENT_TOKEN
- MCP_MEMORY_STORAGE_BACKEND=sqlite_vec
- MCP_MEMORY_SQLITE_PATH=/opt/orchestration/.memory/memory.db
- MCP_MEMORY_SQLITE_PRAGMAS=busy_timeout=15000,journal_mode=WAL,synchronous=NORMAL
volumes:
- server-memory:/opt/orchestration/.memory
networks:
- orchestration-net
healthcheck:
test: ["CMD", "curl", "-sf", "http://127.0.0.1:4096/"]
interval: 30s
timeout: 10s
retries: 3
start_period: 30s
orchestration-client:
build:
context: ./client
dockerfile: Dockerfile
ports:
- "8000:8000"
environment:
- OPENCODE_SERVER_URL=http://orchestration-server:4096
- GITHUB_TOKEN
- GITHUB_ORG
- GITHUB_REPO
- WEBHOOK_SECRET
- SENTINEL_BOT_LOGIN
depends_on:
orchestration-server:
condition: service_healthy
networks:
- orchestration-net
volumes:
server-memory:
networks:
orchestration-net:
driver: bridge