chore(deploy): gate 'make up' behind ALLOW_LOCAL; server is canonical
This commit is contained in:
4
Makefile
4
Makefile
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user