New crates: stratum-orchestrator (Cedar authz, Vault secrets, Nu/agent executors, saga runner), stratum-graph (petgraph DAG + SurrealDB repo), stratum-state (SurrealDB tracker), platform-nats (NKey auth client), ncl-import-resolver. Updates: stratum-embeddings (SurrealDB store + persistent cache), stratum-llm circuit breaker. Adds Nickel action-nodes, schemas, config, Nushell scripts, docker-compose dev stack, and ADR-003.
44 lines
1.0 KiB
YAML
44 lines
1.0 KiB
YAML
version: "3.9"
|
|
|
|
# Stratum dev stack — SurrealDB + Zot OCI registry
|
|
# NATS is assumed running via provisioning docker-compose on the same host network.
|
|
# Start: docker-compose -f docker-compose.dev.yml up -d
|
|
|
|
networks:
|
|
stratum-dev:
|
|
driver: bridge
|
|
|
|
services:
|
|
surrealdb-stratum:
|
|
image: surrealdb/surrealdb:v2
|
|
command: start --log info --user root --pass root memory
|
|
ports:
|
|
- "8100:8000"
|
|
networks:
|
|
- stratum-dev
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-sf", "http://localhost:8000/health"]
|
|
interval: 5s
|
|
timeout: 3s
|
|
retries: 10
|
|
start_period: 5s
|
|
|
|
zot-stratum:
|
|
image: ghcr.io/project-zot/zot-linux-amd64:latest
|
|
ports:
|
|
- "5000:5000"
|
|
volumes:
|
|
- ./config/zot-config.json:/etc/zot/config.json:ro
|
|
- zot-data:/var/lib/registry
|
|
networks:
|
|
- stratum-dev
|
|
healthcheck:
|
|
test: ["CMD", "wget", "-qO-", "http://localhost:5000/v2/"]
|
|
interval: 5s
|
|
timeout: 3s
|
|
retries: 10
|
|
start_period: 5s
|
|
|
|
volumes:
|
|
zot-data:
|