docs(deploy): gate local docker up behind TEAMHUB_ALLOW_LOCAL; server is canonical

This commit is contained in:
Vadim Malanov
2026-07-11 20:11:25 +03:00
parent 9c2f5848c2
commit 576662ebe3

View File

@@ -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