mirror of
https://github.com/KeygraphHQ/shannon.git
synced 2026-08-17 08:50:29 +02:00
feat: add Temporal integration foundation (phase 1-2)
- Add Temporal SDK dependencies (@temporalio/client, worker, workflow, activity) - Add shared types for pipeline state, metrics, and progress queries - Add classifyErrorForTemporal() for retry behavior classification - Add docker-compose for Temporal server with SQLite persistence
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
services:
|
||||
temporal:
|
||||
image: temporalio/auto-setup:latest
|
||||
environment:
|
||||
- DB=sqlite
|
||||
- SQLITE_DB_PATH=/var/lib/temporal/temporal.db
|
||||
ports:
|
||||
- "7233:7233" # gRPC
|
||||
- "8233:8233" # Web UI
|
||||
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
|
||||
|
||||
volumes:
|
||||
temporal-data:
|
||||
Reference in New Issue
Block a user