-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
29 lines (29 loc) · 1.42 KB
/
docker-compose.yaml
File metadata and controls
29 lines (29 loc) · 1.42 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
services:
github-webhook-server:
container_name: github-webhook-server
build: ghcr.io/myk-org/github-webhook-server:latest
volumes:
- "./webhook_server_data_dir:/home/podman/data:Z" # Should include config.yaml and webhook-server.private-key.pem
# Mount temporary directories to prevent boot ID mismatch issues
- "/tmp/podman-storage-${USER:-1000}:/tmp/storage-run-1000"
environment:
- PUID=1000
- PGID=1000
- TZ=Asia/Jerusalem
- MAX_WORKERS=50 # Defaults to 10 if not set
- WEBHOOK_SERVER_IP_BIND=0.0.0.0 # IP to listen
- WEBHOOK_SERVER_PORT=5000 # Port to listen
- WEBHOOK_SECRET=<secret> # If set verify hook is a valid hook from Github
- VERIFY_GITHUB_IPS=1 # Verify hook request is from GitHub IPs
- VERIFY_CLOUDFLARE_IPS=1 # Verify hook request is from Cloudflare IPs
- ENABLE_LOG_SERVER=true # Enable log viewer endpoints (default: false)
- ENABLE_MCP_SERVER=false # Enable MCP server for AI agent integration (default: false)
# AI CLI API keys for pr-test-oracle integration
# - ANTHROPIC_API_KEY=sk-ant-xxx # Claude Code
# - GEMINI_API_KEY=xxx # Gemini CLI
# - CURSOR_API_KEY=xxx # Cursor Agent (API key method)
# For Cursor interactive login: docker exec -it github-webhook-server agent
ports:
- "5000:5000"
privileged: true
restart: unless-stopped