From 260a6c64bfff27fe2d7bfe79f0200c7e336af00c Mon Sep 17 00:00:00 2001 From: mikl Date: Sun, 12 Jul 2026 18:51:11 +0300 Subject: [PATCH] heather: enable silverbullet (note.iscg.dev) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bind mount /srv/syncthing/herbarium → /space. Данные перенесены с iscg-dev (564K, 41 файл). Auth-файл .silverbullet.auth.json в составе данных. SB_USER/SB_INDEX_PAGE из старого compose на iscg-dev. --- hosts/heather/arion-compose.nix | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/hosts/heather/arion-compose.nix b/hosts/heather/arion-compose.nix index a3b77c0..a7544f1 100644 --- a/hosts/heather/arion-compose.nix +++ b/hosts/heather/arion-compose.nix @@ -121,16 +121,21 @@ # Единственный сервис без named volume — по твоему решению, чтобы notes # были доступны и через web UI, и через obsidian/vscode на poppy. # Конфликты syncthing (одновременная правка) решаются через .sync-conflict. - # - # silverbullet = { - # service.image = "zefhemel/silverbullet:latest"; - # service.container_name = "silverbullet"; - # service.restart = "unless-stopped"; - # service.ports = [ "127.0.0.1:3001:3000" ]; - # service.volumes = [ - # "/srv/syncthing/herbarium:/space" # bind mount, НЕ named volume - # ]; - # }; + # Данные перенесены с iscg-dev (2026-07-12), auth-файл .silverbullet.auth.json + # в составе данных — silverbullet подхватит. + silverbullet = { + service.image = "zefhemel/silverbullet:latest"; + service.container_name = "silverbullet"; + service.restart = "unless-stopped"; + service.ports = [ "127.0.0.1:3001:3000" ]; + service.volumes = [ + "/srv/syncthing/herbarium:/space" # bind mount, НЕ named volume + ]; + service.environment = { + SB_USER = "mikl:milkingfemboys"; + SB_INDEX_PAGE = "flowers"; + }; + }; # === Backup sidecar (последним) === # offen/docker-volume-backup: nightly tar.gz всех named volumes.