From 576662ebe3e416a9b350c37472aeee182aab10b1 Mon Sep 17 00:00:00 2001 From: Vadim Malanov Date: Sat, 11 Jul 2026 20:11:25 +0300 Subject: [PATCH] docs(deploy): gate local docker up behind TEAMHUB_ALLOW_LOCAL; server is canonical --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index ef3965a..cf09abd 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,7 @@ FastAPI /search ◀── BGE Reranker ◀── RRF merge ◀────── ```bash cp .env.example .env +[ "$TEAMHUB_ALLOW_LOCAL" = "1" ] || { echo "Local docker deploy disabled: TeamHUB runs on server 10.37.142.35. Set TEAMHUB_ALLOW_LOCAL=1 for a local bring-up (debug only)." >&2; exit 1; } docker compose up -d --build docker compose exec api python scripts/init_db.py docker compose exec api python scripts/init_opensearch.py