Files
yakpanel-core/Makefile

29 lines
415 B
Makefile
Raw Normal View History

2026-04-07 20:29:49 +05:30
SHELL := /bin/bash
2026-04-07 20:53:04 +05:30
COMPOSE := bash scripts/docker-compose.sh
2026-04-07 20:29:49 +05:30
.PHONY: up down logs ps init doctor migrate
init:
cp -n .env.example .env || true
@echo "Initialized .env (kept existing values if present)"
up:
$(COMPOSE) up -d --build
down:
$(COMPOSE) down
logs:
$(COMPOSE) logs -f --tail=100
ps:
$(COMPOSE) ps
doctor:
@docker --version
@docker compose version
migrate:
$(COMPOSE) run --rm db-migrate