DokuWiki: what it does and how to run it
a wiki that is just text files on disk
Independent review. Some links are affiliate links; they never affect the verdict or the ranking. Full disclosure.
DokuWiki stores each page as a plain text file in a namespace of folders. There is no database to dump, so backup is a copy, migration is a copy, and a broken upgrade is undone by restoring a folder. For engineering documentation that longevity is worth more than a modern editor.
The interface is plain and the markup is its own syntax rather than Markdown, which is the main objection people raise. On hardware that would embarrass a Raspberry Pi, it will serve a small team for years.
What DokuWiki actually does
This entry collects the essentials: what the project does, what licence it ships under, and where it fits next to the alternatives. Check the official site for the current feature list.
Core features
- Every page is a plain text file in a folder
- No database required at all
- Access control lists per namespace
- Large plugin catalogue for diagrams, auth and exports
Where it is strongest
- trivially backup-able
- runs on almost nothing
Who it is for
teams who want documentation they can back up with rsync
The absence of a database is the feature: a wiki that is a directory of text files can be copied, grepped, versioned in git and restored with a file manager
How DokuWiki compares
These are the entries closest to DokuWiki on this site — same category, overlapping job. Licence and hosting model are the two columns worth reading first, because they decide your total cost more than the feature list does.
| Tool | Licence | Cost | Best for |
|---|---|---|---|
| DokuWiki This page | GPL-2.0 | Free to self-host | a wiki that is just text files on disk |
| BookStack | MIT | Free to self-host | Simple, organized knowledge base platform |
| Directus | GPL-3.0 | Free to self-host | Instant REST and GraphQL APIs over your database |
| Ghost | MIT | Free to self-host | A focused, modern platform for professional publishing |
How to get DokuWiki running
- Pick the hostA 2 GB VPS covers most of these apps for a small team. If you would rather not run an operating system, a managed app host gives you a one-click container with backups and TLS included.
- Provision the runtimeDokuWiki ships as a container image or a documented install script. Pin a
release tag rather than tracking
latest, so an upstream change never surprises you on a Friday. - Attach persistent storagePoint the data volume at a path you back up. Most of these apps keep everything — users, settings, history — in one database plus an uploads folder.
- Put it behind a domain with TLSAdd an A record, then terminate TLS at your proxy or at the host. Set the public URL in the app's environment before first login, because several apps bake it into links.
- Secure the admin accountChange the default credentials, enable 2FA where offered, and close registration unless the app is meant to be public.
- Schedule the first backupA nightly snapshot that you have actually restored once is worth more than any feature on this page.
Licence and cost
GPL-2.0. Copyleft. If you distribute a modified version, the source has to be released under the same licence. Running it internally is unrestricted.
Self-hosting removes the subscription but not the work: patching, backups, monitoring and the odd 2am alert. Budget a few hours a month for a small deployment.
Questions people ask
Is DokuWiki free to use?
Yes. DokuWiki is released under GPL-2.0, so you can install and run it without a subscription. Copyleft. If you distribute a modified version, the source has to be released under the same licence. Running it internally is unrestricted. Hosting and maintenance still cost money — a small VPS or a managed app host is the usual answer.
Can I self-host DokuWiki?
Yes — that is the point of this listing. You need a server with a supported runtime, persistent storage and a backup schedule. A managed app host removes most of the setup work if you would rather not maintain the operating system yourself.
What is a good alternative to DokuWiki?
BookStack is the closest option in the same category on this site — Simple, organized knowledge base platform. It is worth comparing licence terms before you pick.
Who is DokuWiki aimed at?
teams who want documentation they can back up with rsync DokuWiki uses the GPL-2.0 licence. Start with a single team and a single workflow rather than rolling it out to the whole company at once.