feat: add shadow LangGraph orchestrator runtime

This commit is contained in:
john
2026-07-24 21:25:40 +08:00
parent 46ea22b342
commit 24336d0178
29 changed files with 3247 additions and 25 deletions
+3
View File
@@ -0,0 +1,3 @@
ORCHESTRATOR_POSTGRES_PASSWORD=replace-with-a-long-random-password
MEMIND_ORCHESTRATOR_SERVICE_TOKEN=replace-with-a-long-random-service-token
MEMIND_ORCHESTRATOR_PORT=8093
+46
View File
@@ -0,0 +1,46 @@
services:
postgres:
image: postgres:17-alpine
restart: unless-stopped
environment:
POSTGRES_DB: memind_orchestrator
POSTGRES_USER: memind_orchestrator
POSTGRES_PASSWORD: ${ORCHESTRATOR_POSTGRES_PASSWORD:?set ORCHESTRATOR_POSTGRES_PASSWORD}
healthcheck:
test: ["CMD-SHELL", "pg_isready -U memind_orchestrator -d memind_orchestrator"]
interval: 5s
timeout: 3s
retries: 20
volumes:
- orchestrator_postgres_data:/var/lib/postgresql/data
networks:
- orchestrator_internal
orchestrator:
build:
context: ../../services/orchestrator
dockerfile: Dockerfile
restart: unless-stopped
depends_on:
postgres:
condition: service_healthy
environment:
MEMIND_ORCHESTRATOR_HOST: 0.0.0.0
MEMIND_ORCHESTRATOR_PORT: 8093
MEMIND_ORCHESTRATOR_CHECKPOINT_MODE: postgres
MEMIND_ORCHESTRATOR_DATABASE_URL: postgresql://memind_orchestrator:${ORCHESTRATOR_POSTGRES_PASSWORD}@postgres:5432/memind_orchestrator
MEMIND_ORCHESTRATOR_DATABASE_SCHEMA: memind_orchestrator
MEMIND_ORCHESTRATOR_SERVICE_TOKEN: ${MEMIND_ORCHESTRATOR_SERVICE_TOKEN:?set MEMIND_ORCHESTRATOR_SERVICE_TOKEN}
ports:
- "127.0.0.1:${MEMIND_ORCHESTRATOR_PORT:-8093}:8093"
networks:
- orchestrator_internal
- orchestrator_edge
networks:
orchestrator_internal:
internal: true
orchestrator_edge:
volumes:
orchestrator_postgres_data: