Recipes¶
Scope: the working set: the household setup end to end in one sitting, the closing checklist for the day you open the door, moving the whole vault to a new machine, and the two-minute health check that replaces worrying.
The household setup, in one sitting¶
The chapters in order, compressed. Specimen names; yours go where theirs are.
- Install the container
(chapter 2), data folder on the disk
your backups already reach.
SIGNUPS_ALLOWED=truefor now, the admin token already a PHC string if you can manage it. - Name it (chapter 4): DNS for
vault.example.testto the server, the proxy in front with a real certificate,DOMAINset to the public address, server port listening on localhost only. - Check from another device: the web vault opens at the domain, locked padlock, no warnings. (The lab proved the proxy shape and the config answer, t21; the browser in your hand is the one test no lab can do for you.)
- The first account is yours: register in the web vault (chapter 3), choose the master password like it matters, write it on paper.
- Everyone else: invite each household member from the admin page, or let them register while signups are open and you're watching.
- An organisation (chapter 6) for the things that are shared — streaming and bills, not anyone's bank — with collections named for their shelves.
- Close the door (chapter 5):
SIGNUPS_ALLOWED=false, restart, and test it — attempt a fresh registration and read the refusal. - Backups on a timer (chapter 7): the snapshot nightly, the folder copy weekly, one copy leaving the machine. Restore-rehearse once, now, while it's still a game.
- Update subscription (chapter 8): watch the project's releases.
The closing checklist (print me)¶
For the evening a server goes public:
- [ ] Domain resolves to the server from outside the house network
- [ ] Certificate valid, padlock quiet,
on web vault and
/api/configalike - [ ]
DOMAINequals the address in the browser, scheme and all - [ ] Server port not reachable from the network except through the proxy
- [ ] Own account created and logged in on two devices
- [ ] Master password on paper, paper somewhere findable by family and nobody else
- [ ] Registration tested closed
(
SIGNUPS_ALLOWED=false+ restart- a refused attempt)
- [ ]
ADMIN_TOKENis a PHC string, not a word - [ ] One backup taken, one restore rehearsed, one copy off the machine
- [ ] Release watch on; snapshot habit before updates agreed
Moving to a new machine¶
The chapter-7 restore is the move:
stop the old server, copy the data
folder, start the same version (or
newer — chapter 8's crossing works) on
the new machine with the same
DOMAIN, point DNS at the new address,
and let the proxy there take over the
name. Clients reconnect without being
told anything changed; the vault never
moved as far as they're concerned.
Rehearse it when a machine is merely
old, not dead.
The two-minute health check¶
Any time, from anywhere:
curl -s https://vault.example.test/alive
curl -s https://vault.example.test/api/config | head
The first should answer a fresh UTC
timestamp (t02's shape, on the public
name); the second should name your
DOMAIN in every address it lists
(t21). Then open a client and watch it
sync. If those three agree, the vault
is healthy; if one disagrees, chapter
11 sorts them by which one lied.