Files
gmtool/docker-compose.yml
slaguru666andClaude Opus 4.8 89b89572b5 chore: containerized static deploy (Docker + Caddy) for self-hosting
Serve the built PWA behind your own domain: multi-stage Dockerfile builds
dist/ and serves it with Caddy on :80 (TLS terminated at your Cloudflare
edge). Caddyfile sets no-cache on sw.js/index/manifest and immutable on
hashed assets; SPA fallback to index.html. docker-compose maps :8087.

Verified locally: image builds, container serves 200s with correct cache
headers and SPA fallback.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-21 11:11:37 +01:00

10 lines
239 B
YAML

services:
director:
build: .
image: the-director:latest
container_name: the-director
restart: unless-stopped
ports:
# host:container — point your director.timevans.uk route at host port 8087
- "8087:80"