Files
yakpanel-core/Makefile
2026-04-07 20:29:49 +05:30

29 lines
446 B
Makefile

SHELL := /bin/bash
COMPOSE := docker compose --env-file .env -f docker-compose.yakpanel.yml
.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