---
title: Deploy BookStack with AI on Blossom
url: "/deploy/bookstack/"
canonical_url: https://blossom88.com/deploy/bookstack/
markdown_url: https://blossom88.com/deploy/bookstack.md
summary: Deploy BookStack with AI on Blossom. Organize internal documentation and
  control access to pages and attachments.
categories:
- deployment
- documentation
stack:
- PHP
- Laravel
- MySQL
---

# Deploy BookStack with AI on Blossom

[BookStack](https://www.bookstackapp.com/) organizes team documentation
into books, chapters, and pages. Use it for an operations handbook,
runbooks, or procedures that need controlled access.

![A BookStack runbook with Page Permissions Active in the sidebar.](/deploy/assets/images/bookstack/handbook.webp)

## Ask Your Agent

> **Ask your AI agent:** Deploy BookStack on Blossom and help me create a private operations handbook.
>
> Follow this guide: https://blossom88.com/deploy/bookstack/

[Install the Blossom CLI and skill](https://docs.blossom88.com/learn/getting-started/install/) on your agent's machine and [choose a Location in your cloud account](https://docs.blossom88.com/learn/getting-started/choose-your-cloud/#connect-your-provider).

## Write a Runbook

Create a book and add a page. Attach a file, set who can view the page,
and check the result with a second login.

<details class="optional-reading" markdown="1">
<summary>Deployment setup and commands</summary>

BookStack uses the [MIT license](https://github.com/BookStackApp/BookStack/blob/development/LICENSE).
The LinuxServer packaging uses [GPL 3.0](https://github.com/linuxserver/docker-bookstack/blob/master/LICENSE).

Use the [LinuxServer BookStack image](https://docs.linuxserver.io/images/docker-bookstack/)
in a Persistent Service with a Volume at `/config`. Connect managed
MySQL through a Database Instance link, set a stable application key,
and use the generated HTTPS origin.
Use Blossom Account access during setup and change the initial admin
credentials before adding real content.

    blossom profile:show
    blossom app:create --data app.yml
    blossom environment:create --data environment.yml
    blossom database_instance:create --data mysql.yml
    blossom environment_link:create --data mysql-link.yml
    blossom service:create --data service.yml
    blossom env_var:push --environment environment-100 --file .env.production
    blossom environment:deploy --id environment-100 --follow

</details>

## What You Get

- A private wiki organized into books, chapters, and pages
- Page permissions that also protect attached files
- Handbook content in managed MySQL and files on a Volume
