# Self-host DokuWiki

> A simple, database-free wiki that stores pages as plain text files, easy to back up.

- Page: https://levelrail.com/templates/dokuwiki/
- JSON: https://levelrail.com/templates/dokuwiki.json
- Category: Productivity
- Licence: GPL-2.0 (Copyleft license)
- Source: https://github.com/dokuwiki/dokuwiki
- Upstream docs: https://www.dokuwiki.org/manual

## Requirements
- Memory: about 128 MiB
- amd64: published, arm64: published
- Needs configuration before start: no
- Pinned image tag: 2026-07-14c-ls325

## Services

| Service | Image | Tag | Ports | Volumes |
| --- | --- | --- | --- | --- |
| dokuwiki | lscr.io/linuxserver/dokuwiki | 2026-07-14c-ls325 | 80 | dokuwiki_config -> /config |

## Environment

| Service | Variable | Kind |
| --- | --- | --- |
| dokuwiki | PGID | preset |
| dokuwiki | PUID | preset |
| dokuwiki | TZ | preset |

## Deploy

### CLI

```bash
levelrail-cli templates deploy dokuwiki --name my-dokuwiki
```

### API

```bash
curl -X POST -H "Authorization: Bearer $TOKEN" \
  https://levelrail.example.com/api/v1/service-templates/dokuwiki/deploy
```

Create a token in the dashboard first. This one-click route deploys it as a trial app you can keep or remove.

## Questions

### Can I deploy DokuWiki on Dokploy or Dokku?

The services and pinned images on this page can be run on any Docker host. The public Dokploy templates list we compared does not have an entry with the same id for DokuWiki, so on Dokploy you would use a Docker Compose application with the file from this page. Dokku deploys container images with its own commands, so the pinned image lscr.io/linuxserver/dokuwiki:2026-07-14c-ls325 is what you deploy there.

Self-host DokuWiki, DokuWiki docker compose file, deploy DokuWiki on a VPS: this page lists the pinned image, ports, volumes and the commands for each.
