Deploy with Docker Compose / deploy (push) Successful in 2m17s
Quartz renders the vault but has no write path, so editing a note meant editing files on the Pi or pushing through git. SilverBullet serves the same vault as an editable PWA at /sb/, behind the same nginx admin gate /notes/ uses. Quartz stays as the read view; its --serve watcher picks up SilverBullet's writes, so /notes/ follows within seconds. The vault is now the `notes` repo rather than `obsidian_vault`, and the silverbullet-git sidecar commits and pushes what the editor writes while pulling what Obsidian pushes from elsewhere. The vault's own deploy workflow has been removed in that repo: it pulled from the old remote and restarted quartz, and a second git process in the same clone would race the sidecar. Notes on the configuration: - Single-space mode, auto-detected because the mounted folder is not empty. SilverBullet writes no database or metadata into the vault, so the folder stays plain markdown that quartz and Obsidian still understand. - /sb/ is the one proxied app whose prefix is NOT stripped. SB_URL_PREFIX=/sb tells the PWA its own base path and its service-worker scope is built from that; stripping the prefix serves a blank page with nothing in the log. - SB_SPACE_IGNORE mirrors quartz's ignorePatterns and must be newline separated. A comma separated list is accepted silently and does nothing. - No SB_USER is set, so the container is open to anything reaching it on app-network. The nginx auth_request gate is the only protection. - The sidecar runs as uid 1000 to match the vault's ownership, and is a separate container rather than SilverBullet's own shell backend, which would hand anyone past the nginx gate command execution inside the container. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01BCQFvkvorAw1xwhd5gL2qZ
75 lines
940 B
Plaintext
75 lines
940 B
Plaintext
icecast2/fallback_music/*
|
|
!icecast2/fallback_music/.gitkeep
|
|
certbot/conf
|
|
certbot/www
|
|
backend/token/
|
|
.env
|
|
|
|
gitea/data/*
|
|
gitea/config/app.ini
|
|
|
|
# Gitea runner
|
|
gitea-runner/.runner
|
|
gitea-runner/act_runner
|
|
gitea-runner/nohup.out
|
|
|
|
# Rust build artifacts
|
|
**/target/
|
|
|
|
# Python bytecode
|
|
__pycache__/
|
|
*.pyc
|
|
|
|
# Generated WASM output
|
|
vue/src/wasm/
|
|
|
|
# Logs
|
|
logs
|
|
*.log
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
pnpm-debug.log*
|
|
lerna-debug.log*
|
|
|
|
node_modules
|
|
.DS_Store
|
|
dist
|
|
dist-ssr
|
|
coverage
|
|
*.local
|
|
|
|
# Editor directories and files
|
|
.vscode/*
|
|
.vscode/
|
|
!.vscode/extensions.json
|
|
.idea
|
|
*.suo
|
|
*.ntvs*
|
|
*.njsproj
|
|
*.sln
|
|
*.sw?
|
|
|
|
*.tsbuildinfo
|
|
|
|
.eslintcache
|
|
|
|
# Cypress
|
|
/cypress/videos/
|
|
/cypress/screenshots/
|
|
|
|
# Vitest
|
|
__screenshots__/
|
|
|
|
|
|
.deploy
|
|
*.xcf
|
|
sync-secrets.sh
|
|
|
|
# Local-only outstanding-work notes, deliberately not published
|
|
TODO-NEXT.md
|
|
|
|
# SilverBullet git deploy key (key material only; the README stays)
|
|
silverbullet/ssh/*
|
|
!silverbullet/ssh/README.md
|