2 Commits

Author SHA1 Message Date
Dorian
722d9da968 chore: ignore temp SSH keys and env files
Keep .codex-temp-keys/ (local SSH key) and .env out of git and the
Docker build context so they never reach a commit or image layer.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-16 14:52:49 +01:00
Dorian
570333d776 feat: add Portainer deployment via Docker Compose on port 4422
Multi-stage Dockerfile: node:22.13.1-alpine3.21 builds the Vite
bundle, nginx:1.27.4-alpine3.21-slim serves dist/ on container :80.
Compose maps host :4422 to container :80 with a wget healthcheck
and unless-stopped restart policy.

nginx.conf serves Vite's content-addressed /assets/ as immutable,
caches images for 30d, falls back to index.html for SPA routes,
and sets X-Frame-Options / X-Content-Type-Options / Referrer-Policy
/ Permissions-Policy headers. Server tokens off.

.dockerignore keeps the build context lean (no node_modules, dist,
.git, archive, or compose files).

Pin to image digests in Portainer's stack editor for full lock.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-05 13:47:54 +01:00