mirror of
https://github.com/KeygraphHQ/shannon.git
synced 2026-06-06 07:23:57 +02:00
05f8e2382c
- Add worker.ts with workflow bundling and graceful shutdown - Add client.ts CLI to start pipelines with progress polling - Add query.ts CLI to inspect running workflow state - Fix buffer overflow by truncating error messages and stack traces - Skip git operations gracefully on non-git repositories - Add kill.sh/start.sh dev scripts and Dockerfile.worker
37 lines
938 B
YAML
37 lines
938 B
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:
|
|
context: ..
|
|
dockerfile: docker/Dockerfile.worker
|
|
environment:
|
|
- TEMPORAL_ADDRESS=temporal:7233
|
|
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY}
|
|
depends_on:
|
|
temporal:
|
|
condition: service_healthy
|
|
volumes:
|
|
- ../deliverables:/app/deliverables
|
|
- ../prompts:/app/prompts
|
|
shm_size: 2gb
|
|
ipc: host
|
|
security_opt:
|
|
- seccomp:unconfined
|
|
|
|
volumes:
|
|
temporal-data:
|