Add podman compose deployment, dev script and docs

Containerfile + compose (app + Caddy with automatic HTTPS), env-driven
domain/limits/ports, VAPID key generation that never prints the key.
SPEC updated to match the implementation (Node stdlib server, Svelte SPA,
revert by event id, backup contents, push options).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013FYo6JSV1fDU1fm3LU77iF
This commit is contained in:
agent 2026-10-09 19:59:17 +00:00
parent a78d855886
commit 8c4e37ce4b
9 changed files with 365 additions and 42 deletions

10
deploy/Caddyfile Normal file
View file

@ -0,0 +1,10 @@
# Automatic HTTPS for $DOMAIN (Let's Encrypt / ZeroSSL). HTTPS is required:
# WebCrypto, service workers and push only work in a secure context.
# Security headers (CSP etc.) are set by the app itself.
{$DOMAIN} {
encode zstd gzip
reverse_proxy app:8080 {
# Server-Sent Events: don't buffer
flush_interval -1
}
}