DokuWiki Docker Container
I love DokuWiki. It is an easy to use text-based wiki. It is my go-to place to store information about programs that I work on, movies and TV shows that I watch, books that I read, and so on. The information for this post was taken from a dokuwiki page.
Here's the docker-compose.yml:
version: '3' services: dokuwiki: container_name: dokuwiki image: php:7-apache-bullseye restart: unless-stopped networks: - dokuwiki ports: - '8889:80' volumes: - ./html:/var/www/html networks: dokuwiki:
See https://loganmarchione.com/2022/03/the-best-way-to-run-dokuwiki-in-docker/ for installation instructions.
- Exec into the container.
docker exec -it dokuwiki /bin/bash
- Download DokuWiki.
cd /var/www/html curl --remote-name https://download.dokuwiki.org/src/dokuwiki/dokuwiki-stable.tgz tar -xzvf dokuwiki-stable.tgz --strip-components=1 rm dokuwiki-stable.tgz chown -R www-data:www-data /var/www/
- Go to http://your_docker_server_IP:8889/install.php and the DokuWiki install page displays. Make sure to create and admin account.
These Dokuwiki extension plugins that I have installed:
- Bookcreator Plugin by Gerrit Uitslag (previous: Luigi Micco) 2024-02-07 - Allow to make a book (PDF, ODT, HTML or text) from selected pages
- dw2markdown plugin by i-net software 2025-11-04 - Render a DW page to Markdown
- Dw2Pdf plugin by Andreas Gohr and Luigi Micco 2023-11-25 - DokuWiki to PDF converter
- EditTable plugin by Andreas Gohr 2023-01-14 - Provide a custom editor for tables
- PDF-Tools for dw2pdf by Gero Gothe 2021-11-11 - Additional features for PDF-Generation (requires dw2pdf)
Comments