docs(deploy): gate local docker up behind TEAMHUB_ALLOW_LOCAL; server is canonical
This commit is contained in:
@@ -38,6 +38,7 @@ FastAPI /search ◀── BGE Reranker ◀── RRF merge ◀──────
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
cp .env.example .env
|
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 up -d --build
|
||||||
docker compose exec api python scripts/init_db.py
|
docker compose exec api python scripts/init_db.py
|
||||||
docker compose exec api python scripts/init_opensearch.py
|
docker compose exec api python scripts/init_opensearch.py
|
||||||
|
|||||||
Reference in New Issue
Block a user