---
title: Deploy DokuWiki with AI on Blossom
url: "/deploy/dokuwiki/"
canonical_url: https://blossom88.com/deploy/dokuwiki/
markdown_url: https://blossom88.com/deploy/dokuwiki.md
summary: Start a private wiki and keep its pages and access rules across deploys.
categories:
- deployment
- wiki
stack:
- PHP
- DokuWiki
---

# Deploy DokuWiki with AI on Blossom

[DokuWiki](https://www.dokuwiki.org/dokuwiki) is a wiki that stores
its pages and settings as files. Start with a closed wiki when you
want readers to sign in before they can see the handbook.

## Ask Your Agent

> **Ask your AI agent:** Deploy DokuWiki on Blossom and help me publish a private team handbook.
>
> Follow this guide: https://blossom88.com/deploy/dokuwiki/

[Install the Blossom CLI and skill](https://docs.blossom88.com/learn/getting-started/install/) on your agent's machine and choose a Blossom Cloud Location when you log in. You can also use [Blossom BYOC (bring your own cloud)](https://docs.blossom88.com/learn/getting-started/choose-your-cloud/#blossom-byoc).

## How It Runs

| Part | Role | Where |
|---|---|---|
| DokuWiki | Serve the wiki and retain pages and access rules | Persistent Service behind Blossom Account access |

## Deploy DokuWiki

Use the [official DokuWiki image](https://github.com/dokuwiki/docker).
Open the installer behind Blossom Account access, create the
administrator, and select Closed Wiki with self-registration disabled.

<details class="optional-reading" markdown="1">
<summary>Notes for your agent</summary>

Mount the [Persistent Service Volume](/docs/apps/persistent-services/)
at `/storage`. It keeps the wiki pages, account information, and
access rules together.

    blossom environment:deploy --id environment-100 --follow

</details>

## Publish the Handbook

Sign in to the wiki as the administrator and publish a sample
handbook page.

> **Ask your AI agent:** Help me publish a handbook page in the closed wiki.

> Follow this guide: https://blossom88.com/deploy/dokuwiki/



![Read the protected handbook as an administrator.](/deploy/assets/images/dokuwiki/protected-handbook.webp)

## Check Guest Access After an Update

Try the handbook while signed out of DokuWiki. Replace the web
Container and check both sessions again. The administrator can
read the same page and guests are denied.

> **Ask your AI agent:** Replace the wiki's web Container and confirm the handbook still requires a wiki sign-in.

> Follow this guide: https://blossom88.com/deploy/dokuwiki/



![See the permission message for a signed-out visitor.](/deploy/assets/images/dokuwiki/guest-permission.webp)

## What You Get

A DokuWiki site with a protected handbook that stays in place
across deploys.

## What You Get

- A closed wiki with an administrator
- A workshop handbook that requires a wiki sign-in
- The same page and access rule after Container replacement

Tested on Blossom: The same handbook and guest access rules survived Container replacement.
