Add Makefile and .env.example, standardize DOMAIN var in docs-site

This commit is contained in:
Ryan Malloy 2026-02-23 15:51:03 -07:00
parent 795010e495
commit 391df213b4
3 changed files with 17 additions and 1 deletions

2
docs-site/.env.example Normal file
View File

@ -0,0 +1,2 @@
COMPOSE_PROJECT_NAME=mcbluetooth-docs
DOMAIN=mcbluetooth.warehack.ing

14
docs-site/Makefile Normal file
View File

@ -0,0 +1,14 @@
.PHONY: up down logs restart
up:
docker compose up -d --build
@sleep 3
docker compose logs --tail=20
down:
docker compose down
logs:
docker compose logs -f
restart: down up

View File

@ -5,7 +5,7 @@ services:
networks: networks:
- caddy - caddy
labels: labels:
caddy: ${DOCS_DOMAIN:-mcbluetooth.supported.systems} caddy: ${DOMAIN:-mcbluetooth.warehack.ing}
caddy.reverse_proxy: "{{upstreams 80}}" caddy.reverse_proxy: "{{upstreams 80}}"
networks: networks: