Self-host DokuWiki with Docker
A simple, database-free wiki that stores pages as plain text files, easy to back up.
This page describes the Levelrail template for DokuWiki (Productivity). It deploys the services below as one Docker Compose app on your own server.
Project site: https://www.dokuwiki.org/manual.Recommended memory: about 128 MiB.
Services, ports and volumes
| Service | Image | Container ports | Volumes |
|---|---|---|---|
dokuwiki | lscr.io/linuxserver/dokuwiki:2026-07-14c-ls325 | 80 | dokuwiki_config -> /config |
Environment variables
| Service | Variable | Value |
|---|---|---|
dokuwiki | PGID | Preset in the template |
dokuwiki | PUID | Preset in the template |
dokuwiki | TZ | Preset in the template |
Passwords and keys marked as generated are created for you when the app is deployed and stored as secrets. Values are not shown here.
Deploy DokuWiki with Levelrail
In the dashboard, open Apps, choose New app, then Browse templates, and select DokuWiki. Review the Compose body and deploy.
With the CLI:
levelrail-cli templates deploy dokuwiki --name my-dokuwikiSee Service template catalog for how templates work, and Getting started if you have not installed Levelrail yet.
More Productivity templates
All templates are listed in the self-host gallery.