mirror of
https://github.com/KeygraphHQ/shannon.git
synced 2026-05-28 19:31:34 +02:00
eb8ab3be86
- Add telemetry module with PostHog integration and opt-out support - Track workflow/agent lifecycle events (start, complete, fail, retry) - Persist anonymous installation ID to ~/.shannon/telemetry-id - Include hashed target hostname for unique target counting - Mount host ~/.shannon in container for ID persistence across rebuilds
40 lines
1.1 KiB
YAML
40 lines
1.1 KiB
YAML
services:
|
|
temporal:
|
|
image: temporalio/temporal:latest
|
|
command: ["server", "start-dev", "--db-filename", "/var/lib/temporal/temporal.db", "--ip", "0.0.0.0"]
|
|
ports:
|
|
- "7233:7233" # gRPC
|
|
- "8233:8233" # Web UI (built-in)
|
|
volumes:
|
|
- temporal-data:/var/lib/temporal
|
|
healthcheck:
|
|
test: ["CMD", "temporal", "operator", "cluster", "health", "--address", "localhost:7233"]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 10
|
|
start_period: 30s
|
|
|
|
worker:
|
|
build: .
|
|
entrypoint: ["node", "dist/temporal/worker.js"]
|
|
environment:
|
|
- TEMPORAL_ADDRESS=temporal:7233
|
|
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY:-}
|
|
- CLAUDE_CODE_OAUTH_TOKEN=${CLAUDE_CODE_OAUTH_TOKEN:-}
|
|
- CLAUDE_CODE_MAX_OUTPUT_TOKENS=${CLAUDE_CODE_MAX_OUTPUT_TOKENS:-64000}
|
|
depends_on:
|
|
temporal:
|
|
condition: service_healthy
|
|
volumes:
|
|
- ./prompts:/app/prompts
|
|
- ${TARGET_REPO:-.}:/target-repo
|
|
- ${BENCHMARKS_BASE:-.}:/benchmarks
|
|
- ${HOME}/.shannon:/tmp/.shannon
|
|
shm_size: 2gb
|
|
ipc: host
|
|
security_opt:
|
|
- seccomp:unconfined
|
|
|
|
volumes:
|
|
temporal-data:
|