Self-Hosting · Documentation
BookStack: A Self-Hosted Wiki Your Household Will Actually Use
Every household and homelab accumulates the same document: the page that explains how things are set up, where things are, and what to do when something breaks. BookStack is the wiki built for that document. It organizes knowledge the way a bookshelf does — books contain chapters, chapters contain pages — with a proper editor, full-text search, and permissions per book. It is free and open source (MIT), currently at v26.09.3, and this guide covers its real deployment shape: there is no official Docker image, the LinuxServer image plus a MariaDB sidecar is the standard route, and one configuration value is now mandatory.
Published Nov 21, 2026
The bookshelf model, and why it works
Most wikis fail households for an organizational reason: they offer an infinite pile of pages and leave structure as an exercise. BookStack’s opinion is the opposite. Content lives in books; a book can be divided into chapters; chapters and books hold pages. A book for the house, a chapter for the network, pages for the router, the NAS, and the backup routine — the structure is visible from the front page and a new reader can browse it like a shelf instead of guessing search terms. Shelves group books themselves for larger collections. The editor is a WYSIWYG page editor with a Markdown option, drawing and diagram attachments are handled gracefully, and search covers everything. For documentation that other people must be able to find under mild stress — the “internet is down, what do I restart” page — browsable structure beats a powerful but opaque wiki every time.
Permissions follow the same structure: roles and per-book restrictions decide who can see and edit what, so the household book can be readable by everyone while the infrastructure book, with its recovery keys and network maps, stays restricted. Multiple users are first-class, with local accounts or an external identity provider if your stack has one. BookStack’s job in this site’s stack is the reference shelf: it sits next to Vikunja, which holds what happens next, and the notes tools in the notes guide, which hold the thinking-in-progress. Reference, plans, and notes are three different kinds of writing, and giving each its own tool keeps all three tidier.
The install: LinuxServer image, MariaDB, and a mandatory key
The first fact to know is that BookStack publishes no official Docker image. The documented, standard route is the LinuxServer image (lscr.io/linuxserver/bookstack, serving on port 6875), which packages the application properly and is what this guide recommends without hesitation — “unofficial” here means community-maintained by the most established image team in the self-hosting world, not improvised. The second fact is that BookStack needs a real database: MySQL 8.0 or MariaDB 10.6 and up, run as a separate sidecar container. There is no embedded-database option, so the stack is two containers minimum, and the database deserves the same backup treatment as every other stateful service in this series.
The third fact is recent and absolute: since the 26.09 release, an APP_KEY must be set in the configuration or the application will error out — the old behavior of falling back to a default is gone, deliberately, because a default encryption key is not a key. Generate a proper random value when you write the compose file, store it with your deployment secrets, and treat it as part of the backup: content encrypted under a lost key is content lost. One more project note, so the trail does not confuse you later: BookStack moved its primary project home to Codeberg in 2026, with GitHub kept as a mirror — the Codeberg repository is the canonical one to watch for releases.
Running it: updates are part of the deal
BookStack’s 2026 included a run of security releases, and the project also issued a pointed advisory worth repeating: the BookStack version number alone does not prove the underlying PHP in your container is patched, so pulling a fresh image and recreating the container is the update action that matters, not just changing a version label. The operational habit follows: this is a service to keep current on a short cycle, with the database backed up before each update, in the same routine as the rest of the stack. That is not a criticism — a wiki that holds your network maps and recovery notes is exactly the application you want its maintainers patching promptly, and the two-container update is a few minutes’ work on any schedule you choose.
Daily life in BookStack is calm. Writing a page feels like a word processor, the bookshelf front page makes the collection browsable by the whole household, and the search finds the page you half-remember writing. The content that earns its keep fastest: the house book (appliance manuals’ key pages, the “how the heating works” page, the internet-recovery page), the homelab book (this site’s documentation guide describes what belongs in it), and a book per long-running project. Export options exist per book and per page, so the knowledge is never trapped; a book can leave as documents you can read without the application, which is the right test for any system you store your own instructions in.
The verdict
BookStack is the reference shelf of this tranche: slightly more install than the single-container tools — an image from LinuxServer, a MariaDB sidecar, a mandatory application key — in exchange for the most approachable documentation system a household is likely to keep using. If your household’s knowledge currently lives in a chat thread, a drawer, and one person’s memory, this is the upgrade that pays out on the worst day of the year, when the person who knows is the person who is away. Set it up, write the internet-recovery page first, and let the shelf fill from there.
Writing in BookStack: editors, templates, and the audit trail
The writing experience decides whether a wiki fills or fossilises, and BookStack treats it as the product. The default editor is a proper WYSIWYG page editor — headings, tables, images, and callouts without markup — with a Markdown editor available per user for those who prefer it, and the two can be switched without mangling the page. Page templates speed up the recurring shapes: every appliance page wants the same sections (model, serial, manual link, quirks), and a template makes the tenth appliance page take two minutes. Pages accept attachments and images directly, tags organize across books, and comments let a reader ask the author a question on the page itself rather than in a chat thread that scrolls away.
Underneath, BookStack keeps an activity and audit record: who changed which page, when, and what the page said before. For a household this sounds like overkill until the first time a setting is transcribed wrong and the previous version of the router page settles an argument in one click. Revision history is the wiki’s backup of itself, and it is the reason “just write it in the wiki” can be the standing advice — a wrong edit is recoverable, so nobody needs permission to improve a page. Webhooks round out the picture for the homelab side, announcing changes to other systems for households that want the infrastructure book’s edits to appear in their usual notification channel.
Exports: the knowledge is never trapped
A documentation system you cannot leave is a liability, so the exit deserves its own paragraph. Books and individual pages export to readable formats — PDF and HTML for people, Markdown and plain text for machines — without the application needing to be alive to read them. A book exported once a quarter and stored with the household’s other records is a paper-bag copy of the house’s instructions: readable in a power cut, on a borrowed laptop, by a housesitter with no accounts at all. That export habit, plus the database backups, means BookStack can be replaced, restored, or simply read around — the three properties that separate a knowledge base from a hostage situation, and a fitting test for every tool in this series.
One more audience worth naming: the household member who did not build any of this. BookStack is the one surface in the stack designed for them first — a bookshelf they can browse, a search box that works, and pages that read like documents rather than dashboards. When the wiki is where the house’s answers live, “ask the wiki” becomes a fair answer, and the builder of the house gets some of their evenings back.
Official documentation and references
- BookStack — the project site and feature tour
- BookStack documentation — installation, configuration and the APP_KEY requirement
- BookStack on Codeberg — the project’s primary home since 2026
- LinuxServer — BookStack image — the standard container route
Frequently asked questions
Is there an official BookStack Docker image?
No. BookStack publishes no official image; the documented standard route is the LinuxServer image with a separate MariaDB (or MySQL 8.0+) container. There is no embedded-database option, so two containers is the minimum stack.
What is the APP_KEY and why is it required?
The APP_KEY is the application’s encryption key. Since the 26.09 release BookStack refuses to run without one set — there is no default fallback. Generate a random value at install time, keep it in your secrets, and include it in your backup thinking.
How is BookStack organized?
As a bookshelf: books contain chapters, and chapters contain pages, with shelves grouping books. The structure is browsable from the front page, which is what makes it work for household documentation that people must find quickly.
Where did BookStack’s code move?
The project’s primary home is now Codeberg, with GitHub retained as a mirror. Releases and security notes should be followed at the Codeberg repository.

