podman based project from now on
This commit is contained in:
22
Makefile
22
Makefile
@@ -1,4 +1,5 @@
|
||||
COMPOSE = docker compose -f docker-compose.prod.yml --env-file .env.production
|
||||
COMPOSE ?= docker compose -f docker-compose.prod.yml --env-file .env.production
|
||||
PODMAN_COMPOSE ?= podman compose -f podman-compose.prod.yml --env-file .env.production
|
||||
|
||||
# --- Frontend (Tailwind v4 + PenguinUI) -----------------------------
|
||||
# Uses the Tailwind v4 standalone binary (no Node required at runtime).
|
||||
@@ -13,7 +14,7 @@ else
|
||||
TW_TARGET = tailwindcss-linux-x64
|
||||
endif
|
||||
|
||||
.PHONY: up down restart logs build ps css css-watch tailwind
|
||||
.PHONY: up down restart logs build ps podman-up podman-down podman-restart podman-logs podman-build podman-ps css css-watch tailwind
|
||||
|
||||
$(TW):
|
||||
@mkdir -p bin
|
||||
@@ -45,3 +46,20 @@ build:
|
||||
|
||||
ps:
|
||||
$(COMPOSE) ps
|
||||
|
||||
podman-up:
|
||||
$(PODMAN_COMPOSE) up -d --build
|
||||
|
||||
podman-down:
|
||||
$(PODMAN_COMPOSE) down
|
||||
|
||||
podman-restart: podman-down podman-up
|
||||
|
||||
podman-logs:
|
||||
$(PODMAN_COMPOSE) logs -f --tail=100
|
||||
|
||||
podman-build:
|
||||
$(PODMAN_COMPOSE) build --no-cache
|
||||
|
||||
podman-ps:
|
||||
$(PODMAN_COMPOSE) ps
|
||||
|
||||
Reference in New Issue
Block a user