4 Commits
Author SHA256 Message Date
jhkaktus 1cdb3fa784 rewirite to new name 2026-10-14 20:29:22 +02:00
jhkaktus 47b65508f4 feat: systemd unit for deployment behind reverse proxy (port 8085)
deploy/crushdb.service runs run.py on 127.0.0.1:8085 with auto-restart
and hardening (ProtectSystem=strict, ReadWritePaths only for the SQLite
dir, no capabilities, restricted address families). Verified with
systemd-analyze verify against locally substituted paths (exit 0); the
only remaining warning on the un-substituted unit is the expected
path-not-found for the deployment location in this dev checkout.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-10-11 00:12:03 +02:00
jhkaktus 505b1839dd chore: default port 8085 (app + service unit), README aligned
User's proxy expects the upstream on port 8085; defaults are aligned
across run.py, the systemd unit and the docs.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-10-11 00:11:19 +02:00
jhkaktus 6c41779667 feat: systemd unit for deployment behind reverse proxy
Adds deploy/crushdb.service: plain HTTP on 127.0.0.1:5000 (HOST/PORT
env), auto-restart on failure, hardened with ProtectSystem/strict,
NoNewPrivileges, capability drop and restricted address families so
only the SQLite dir and private tmp are writable. Passes
systemd-analyze verify (the one reported warning is the expected
/path-in-this-repo venv path of the source checkout, not the deployed
one).

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-10-11 00:10:58 +02:00