Initial project baseline

This commit is contained in:
2026-07-04 02:40:45 +08:00
commit d5d8caef2f
86 changed files with 15590 additions and 0 deletions
+40
View File
@@ -0,0 +1,40 @@
.PHONY: build up down restart logs logs-backend logs-frontend clean shell-backend status prune
COMPOSE := docker-compose
# ── Build / Run ─────────────────────────────────────────────
build:
$(COMPOSE) build --no-cache
up:
$(COMPOSE) up -d
down:
$(COMPOSE) down
restart:
$(COMPOSE) restart
# ── Logs ────────────────────────────────────────────────────
logs:
$(COMPOSE) logs -f
logs-backend:
$(COMPOSE) logs -f backend
logs-frontend:
$(COMPOSE) logs -f frontend
# ── Debug ───────────────────────────────────────────────────
shell-backend:
$(COMPOSE) exec backend bash
status:
$(COMPOSE) ps
# ── Cleanup ─────────────────────────────────────────────────
clean:
$(COMPOSE) down -v --rmi all --remove-orphans
prune:
docker system prune -f