Add Docker deployment for mcwaddams.mcp.website

Multi-stage build: Node 22 for Astro build, Caddy 2 Alpine for
static file serving. Reverse-proxied via caddy-docker-proxy.
This commit is contained in:
Ryan Malloy 2026-02-14 12:57:51 -07:00
parent e537ddcda6
commit 3af91e8a9d
6 changed files with 101 additions and 0 deletions

19
docker-compose.yml Normal file
View file

@ -0,0 +1,19 @@
services:
site:
build: .
restart: unless-stopped
networks:
- caddy
labels:
caddy: ${DOMAIN}
caddy.reverse_proxy: "{{upstreams 8080}}"
healthcheck:
test: ["CMD", "wget", "-qO-", "http://127.0.0.1:8080/health"]
interval: 30s
timeout: 3s
start_period: 5s
retries: 3
networks:
caddy:
external: true