chore(deploy): gate 'make up' behind ALLOW_LOCAL; server is canonical
Some checks failed
CI / Backend (lint + tests + compose) (push) Has been cancelled
CI / Frontend (lint + type-check + build) (push) Has been cancelled

This commit is contained in:
GoodOneFather
2026-07-11 20:10:34 +03:00
parent fe346d983b
commit 377a0afc96

View File

@@ -10,6 +10,10 @@ help:
@echo "make logs - tail api+worker logs" @echo "make logs - tail api+worker logs"
up: up:
@if [ "$(ALLOW_LOCAL)" != "1" ]; then \
echo "Local docker deploy disabled: TeamHUB runs on server 10.37.142.35. Run 'ALLOW_LOCAL=1 make up' to force a local bring-up for debugging."; \
exit 1; \
fi
docker compose up -d --build docker compose up -d --build
down: down: