4 Commits

Author SHA1 Message Date
Julien Calixte
c84b4c5f97 robustness: split jetstream into own container, add cursor persistence
Jetstream was running backgrounded in the same container as the API server,
so crashes went undetected and Docker never restarted it. Now each process
runs as a separate docker-compose service with independent restart policies.

Also adds cursor persistence to SQLite (saved every 5s) so restarts resume
from where they left off, moves event destructuring inside try/catch blocks,
and adds global unhandled error/rejection handlers for crash visibility.
2026-02-17 01:17:42 +01:00
Julien Calixte
069951dff2 fix: run database migration before starting services in Dockerfile
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 22:02:13 +01:00
Julien Calixte
55699f0727 feat: add a server for querying notes 2026-02-09 11:53:49 +01:00
Julien Calixte
ee8421c773 feat: add Dockerfile and GitLab CI/CD pipeline
Add Docker containerization with Deno and persistent SQLite volume.
Add GitLab CI pipeline with build and deploy stages.
Use SQLITE_PATH env var for configurable DB location.
2026-02-09 00:30:21 +01:00