Document homelab deployment in CLAUDE.md
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
015a0a5821
commit
122d46fdc1
@@ -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.
|
- 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.
|
- 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.
|
- 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).
|
||||||
|
|||||||
Reference in New Issue
Block a user