diff --git a/CLAUDE.md b/CLAUDE.md index baf4893..061dd4d 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -84,3 +84,10 @@ docker compose logs -f app - CSP is strict (`script-src 'self'`, `style-src 'self'`): no inline scripts/styles/handlers in templates. - AI output is always an editable draft, never saved directly. `OPENAI_API_KEY` only via env. - Keep it lean: small server, no heavy dependencies without reason. + +## Deployment (owner's homelab) +- Server `srv-stackpilot` (10.10.1.7, Debian 12, Docker 29), user `claude` (docker group, SSH key only), + checkout in `~/kochbuch`, `.env` there (mode 600, never commit). Port 8000 on the host. +- Reverse proxy is NPMplus on the same host → proxy host `kochbuch.dammann.vip` → `10.10.1.7:8000`. +- Update: `cd ~/kochbuch && ./scripts/backup.sh && git pull && docker compose up -d --build`. +- Gitea: https://git.dammann.vip/dammann/Kochbuch (SSH alias `gitea`, port 2222).