vor: pass VOR_WORLDTREE_KEY through to the container

Adds VOR_WORLDTREE_KEY + VOR_WORLDTREE_BASE + VOR_WORLDTREE_MODEL to vor's
compose environment with sane defaults. Empty key falls back to the
in-process MockWorldtree (the /mockup/ surface returns canned fixtures);
a real key issued by architect routes LLM calls at the demo Saga instance.

Key itself lives in ana-docker:/opt/docker/compose/vor/.env (not in the
repo).
This commit is contained in:
vh
2026-05-12 00:00:31 -07:00
parent 44086248f6
commit ddf20abc7e
2 changed files with 20 additions and 0 deletions
+6
View File
@@ -24,6 +24,12 @@ services:
environment:
# Container always listens on 8765 internally; host port is the only knob.
- PYTHONUNBUFFERED=1
# Worldtree integration for the /mockup/ surface. Empty key falls
# back to the in-process MockWorldtree (canned fixtures); a real
# key routes /mockup/ LLM calls at the Worldtree instance below.
- VOR_WORLDTREE_KEY=${VOR_WORLDTREE_KEY:-}
- VOR_WORLDTREE_BASE=${VOR_WORLDTREE_BASE:-http://10.250.50.152:8080}
- VOR_WORLDTREE_MODEL=${VOR_WORLDTREE_MODEL:-qwen3.6-35-a3b-heretic}
healthcheck:
test: ["CMD-SHELL", "python -c 'import urllib.request,sys; r=urllib.request.urlopen(\"http://127.0.0.1:8765/api/sessions\",timeout=3); sys.exit(0 if r.status==200 else 1)' || exit 1"]
interval: 30s