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.
This commit is contained in:
parent
088c1a5ace
commit
9c9b69c733
10 changed files with 275 additions and 0 deletions
27
Makefile
Normal file
27
Makefile
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
.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
|
||||
Loading…
Add table
Add a link
Reference in a new issue