Simple to use and highly versatile wiki software
| Category | Essentials |
|---|---|
| Platform | podman |
| Version | version-2025-05-14b |
| Site link | https://www.dokuwiki.org/ |
| Nix Homelab Module | modules/features/dokuwiki |
DokuWiki is a simple to use and highly versatile open-source wiki software that doesn't require a database. It stores all content in plain text files, making it extremely lightweight, portable, and easy to backup.
DokuWiki is perfect for documentation, knowledge bases, intranets, and project collaboration without the overhead of a database.
Simple, powerful wiki without database complexity
Key benefits:
- No Database Required: All content stored in flat files for easy backups
- Clean Syntax: Easy-to-learn wiki markup that's readable and powerful
- Extensive Plugins: Thousands of plugins to extend functionality
- Access Control: Granular permissions per page, namespace, or user group
- Low Resource Usage: Runs efficiently with minimal server resources
- SSO Integration: Works with Authentik for OAuth authentication
Configuration files
/data/podman/dokuwiki/config/dokuwiki/conf/local.php/data/podman/dokuwiki/config/dokuwiki/conf/plugins.local.php
** Reset Admin Password**
If you need to reset the admin password (before OAuth is set up):
sudo -u dokuwiki nano /data/podman/dokuwiki/config/dokuwiki/conf/users.auth.phpOr regenerate using DokuWiki's password hash generator at:
https://encyclopedie.ma-cabane.eu/doku.php?id=wiki:password
Plugin Setup:
After initial installation, install OAuth plugins (oauth and oauthgeneric)
from the DokuWiki admin interface and configure with Authentik credentials.
Install the following plugins from the DokuWiki admin interface:
- Go to
Admin→Extension Manager - Search and install:
- oauth - OAuth authentication plugin
- oauthgeneric - Generic OAuth provider support
Configure the OAuth plugins in DokuWiki admin panel:
- register-on-auth:
Enabled- Automatically register users on first login
OAuth2 Secret:
# Get OAuth2 client secret for Authentik configuration
clan vars get houston dokuwiki/oauth2-client-secretNavigate to Admin → Configuration Manager → oauthgeneric:
- Set plugin»oauthgeneric»key to the Client ID from authentik
- Set plugin»oauthgeneric»secret to the Client Secret from authentik
- Set plugin»oauthgeneric»authurl to
https://douane.ma-cabane.eu/application/o/authorize/ - Set plugin»oauthgeneric»tokenurl to
https://douane.ma-cabane.eu/application/o/token/ - Set plugin»oauthgeneric»userurl to
https://douane.ma-cabane.eu/application/o/userinfo/ - Set plugin»oauthgeneric»authmethod to
Bearer Header - Set plugin»oauthgeneric»scopes to
email, openid, profile, offline_access - Select plugin»oauthgeneric»needs-state
- Set plugin»oauthgeneric»json-user to
preferred_username - Set plugin»oauthgeneric»json-name to
name - Set plugin»oauthgeneric»json-mail to
email - Set plugin»oauthgeneric»json-grps to
groups
