Replace Quartz with a read-only SilverBullet for public /notes/

/notes/ is now served by silverbullet-public: the same SilverBullet 2.11.0
image as the /sb/ editor, run with SB_READ_ONLY over a read-only mount of
the vault. Quartz is retired (quartz/ kept with a STATUS header).

Keeping private/ off the public site needs nginx, not just SilverBullet:
SB_SPACE_IGNORE only filters the file listing. Verified with curl that
2.11.0 still serves ignored paths via /.fs/<path>, via server-rendered page
URLs, and exposes the vault's .git through /.fs/.git/. nginx now 404s any
private/ or templates/ segment at any depth and any nested dot-folder under
/notes/. SB_REVISIONS=disabled stops /.revisions serving git history, and
nginx blocks it as a second layer.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-09-30 20:37:10 +01:00
co-authored by Claude Opus 5.5
parent 78324bf7a3
commit 7ce86f08ec
8 changed files with 200 additions and 84 deletions
+6
View File
@@ -1,6 +1,12 @@
# =============================================================================
# Quartz image — builds the Obsidian notes site.
#
# STATUS: RETIRED (not live). /notes/ is now served by the read-only
# silverbullet-public service; this directory is no longer referenced by
# docker-compose.yml or nginx. Kept for reference / rollback: restoring it means
# re-adding the service, the QUARTZ_* vars to nginx/entrypoint.sh's allow-list,
# and pointing /notes/ back at it (with the prefix-strip rewrite Quartz needs).
#
# HOW THE SOURCE IS OBTAINED: Quartz is not an npm package you depend on, it is
# an application you clone and configure. So the image `git clone`s the
# upstream repo at build time, which is why `git` is installed. --depth 1