chore(scripts): add make down and clean targets

- Why:
  - intensive development needs quick cluster stop/cleanup commands
  - current Makefile had only up and pipeline/monitoring targets
- What:
  - add make target down for standard docker compose shutdown
  - add make target clean for full cleanup with volumes and orphans
  - update OPERATIONS runbook with new make commands
- Check:
  - make -n down clean
This commit is contained in:
2026-02-09 09:33:54 +03:00
parent e851ef9788
commit 0e470604fe
2 changed files with 11 additions and 1 deletions
+9 -1
View File
@@ -1,10 +1,18 @@
.PHONY: up ddl data transform reload-monitoring recover-monitoring
.PHONY: up down clean ddl data transform reload-monitoring recover-monitoring
COMPOSE ?= docker compose
up:
$(COMPOSE) up -d
# Остановить и удалить контейнеры/сети текущего проекта
down:
$(COMPOSE) down
# Полная очистка окружения проекта (включая volumes)
clean:
$(COMPOSE) down -v --remove-orphans
ddl:
bash ./scripts/apply_clickhouse_ddl.sh