feat: add shadow LangGraph orchestrator runtime
This commit is contained in:
@@ -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
|
||||
@@ -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:
|
||||
Reference in New Issue
Block a user