Compare commits

...

2 Commits

Author SHA1 Message Date
Vadim Malanov
116df7a3d7 merge: compose env passthrough for dispatch participant
Some checks failed
CI / Backend (lint + tests + compose) (push) Has been cancelled
CI / Frontend (lint + type-check + build) (push) Has been cancelled
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-09 00:35:23 +03:00
Vadim Malanov
3974eaf7d4 fix(compose): pass DISPATCH_* and INGEST_API_KEY env into api/worker
Settings read these via pydantic env, but the containers never received them:
DISPATCH_ENABLED stayed false regardless of .env. Values interpolate from the
gitignored repo .env; defaults keep dispatch off.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-09 00:35:22 +03:00

View File

@@ -36,6 +36,13 @@ x-common-env: &common-env
APP_WORK_DIR: /data/work
CORS_ALLOWED_ORIGINS: ${CORS_ALLOWED_ORIGINS:-http://localhost:5273,http://localhost:4173}
API_KEY: ${API_KEY:-}
INGEST_API_KEY: ${INGEST_API_KEY:-}
# Dispatch participant (D4 bus): values come from the gitignored .env.
DISPATCH_ENABLED: ${DISPATCH_ENABLED:-false}
DISPATCH_API_URL: ${DISPATCH_API_URL:-}
DISPATCH_API_KEY: ${DISPATCH_API_KEY:-}
DISPATCH_PARTICIPANT_CODE: ${DISPATCH_PARTICIPANT_CODE:-legacyhub}
DISPATCH_TIMEOUT_SECONDS: ${DISPATCH_TIMEOUT_SECONDS:-5}
# Module-contract isolation: data services live on the internal-only
# legacyhub_db network (the same name docker-compose.teamhub.yml uses, so the