forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on af331ecc8a4a0c661bcdbc905b95bb2cf77a72deFiltered to ContainerfileClear filter

2026-09-12

2026-07-21

✨ feat(db)!: swap embedded surrealkv for a SurrealDB serverAhmet Kaan Gümüş · 60b4509
✨ feat(db)!: swap embedded surrealkv for a SurrealDB server

BREAKING CHANGE: the backend no longer opens a database file. DB_PATH
is gone; DB_URL/DB_USER/DB_PASS point at a SurrealDB server over
WebSocket (compose ships one on surrealkv storage in its own volume,
backend waits on its healthcheck). Pre-switch data was wiped on
purpose — fresh volumes seed from scratch. Tests keep the in-memory
engine; persistence.rs re-runs the boot migration on a live handle
instead of reopening a file.

2026-07-11

📦 chore(docker): two-stage Containerfile and compose stackAhmet Kaan Gümüş · a6d34e6
📦 chore(docker): two-stage Containerfile and compose stack

The Containerfile builds a release binary (with cargo registry + target
cache mounts) on the pinned Rust stable that edition 2024 needs, then
copies it onto a slim Debian runtime that runs as a non-root user. HOST
is forced to 0.0.0.0 so the published port reaches the listener, and
the embedded database lives under /data for a volume mount.

compose.yaml runs the single service (the DB is embedded) with a named
data volume, a curl-based healthcheck on /, and the production knobs
commented out. .dockerignore trims the build context to source +
manifests. Works with both podman and docker compose.