mirror of
https://github.com/narrrl/narl-workspace.git
synced 2026-11-03 16:41:27 +01:00
Three-stage build: bun compiles the frontend, cargo embeds it into the release binary, and the runtime stage carries only that binary on debian:trixie-slim as an unprivileged user. compose.yml pins DIARY_BIND and DIARY_DATA_DIR over whatever .env says, keeps state in a named volume, publishes on localhost only and probes the port with bash so the image needs no curl. compose.override.yml.example shows the traefik overlay for the personal host.
16 lines
176 B
Plaintext
16 lines
176 B
Plaintext
# rust
|
|
/target
|
|
|
|
# runtime state: sqlite db + uploaded media
|
|
/data
|
|
|
|
# frontend
|
|
/web/dist
|
|
/web/node_modules
|
|
|
|
# secrets
|
|
.env
|
|
|
|
# host-specific compose overlay
|
|
compose.override.yml
|