birdcage-docs/Makefile
Ryan Malloy 9c9b69c733 Add deployment infrastructure and TUI showcase guide
Dockerfile (multi-stage: base/dev/build/prod with caddy:2-alpine),
docker-compose.yml with caddy-docker-proxy labels for birdcage.warehack.ing,
Caddyfile, Makefile (up/down/dev/prod/clean), and .env.

TUI guide page with 4 screenshots (F1 position, F2 signal, F4 system,
F5 console), demo mode docs, and project backstory crediting Gabe Emerson
(KL1FI) and Chris Davidson.
2026-02-13 15:12:54 -07:00

28 lines
494 B
Makefile

.PHONY: up down logs rebuild dev prod clean
up:
docker compose up -d --build
down:
docker compose down
logs:
docker compose logs -f
rebuild:
docker compose down
docker compose up -d --build
dev:
@sed -i 's/^APP_ENV=.*/APP_ENV=dev/' .env
@sed -i 's/^APP_PORT=.*/APP_PORT=4321/' .env
$(MAKE) rebuild
prod:
@sed -i 's/^APP_ENV=.*/APP_ENV=prod/' .env
@sed -i 's/^APP_PORT=.*/APP_PORT=80/' .env
$(MAKE) rebuild
clean:
docker compose down --rmi local -v