Files
nisse/deploy/agent-host/silverbullet/compose.yaml
T
dongarandClaude Opus 5.5 bf98445fcb
CI / checks (push) Skipped
CI / checks (pull_request) Successful in 2m0s
CI / e2e (pull_request) Successful in 4m25s
Agent host: SilverBullet serves the vault as its one space, behind Authelia
The operator chose single-space mode: the vault is mounted at /data, with
memory/ read-only over it, and there are no accounts or setup wizard;
Authelia in the operator's Caddy is the login. SB_NAME forces the mode, so
an empty vault can't boot the wizard. SilverBullet's own data folder is
gone. check now fails if the wizard could be open. The README says how to
make memory/ writable for a while and back.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J5Utyfzw7gF7UhjRDEtjTk
2026-10-19 16:41:29 +00:00

29 lines
1.3 KiB
YAML

# SilverBullet on the agent host: the operator's view of the vault (L10, M5.4).
# Installed to /opt/stacks/silverbullet by ../setup.sh. No secrets here: it
# has no accounts of its own; the operator logs in through Authelia, in front of
# it in their Caddy, and only Caddy can reach it (setup.sh's firewall).
services:
silverbullet:
# Pinned: the docker role updates stacks' images nightly, and a pinned
# version only changes in a PR here.
image: ghcr.io/silverbulletmd/silverbullet:2.11.1-slim
restart: unless-stopped
environment:
PUID: "1000"
PGID: "1000"
# Set on purpose: any SB_* setting boots one space, the vault mounted at
# /data, with no accounts or setup wizard. Without one, an empty vault
# would boot the wizard instead.
SB_NAME: Nisse vault
ports:
# IPv4 only; setup.sh's firewall lets only the operator's Caddy in.
- "0.0.0.0:3000:3000"
volumes:
# The vault is the space: the operator writes everything in it...
- /srv/nisse/vault:/data
# ...except the agents' memory, which only the agents write (one writer
# per folder, enforced by the kernel).
- /srv/nisse/vault/memory:/data/memory:ro
logging:
driver: journald # logs go to the host's journal (L12)