A simple starting point for hosting DokuWiki in a container.
Clone this repository, cd into the dokuwiki-container directory, and then run the following commands:
docker-compose build && docker-compose up
Then visit the following URL to configure the wiki: http://localhost80/install.php
To ssh into the container, use the following command:
docker exec -it dokuwiki ash
For full details, visit https://www.dokuwiki.org/dokuwiki
DokuWiki is a simple to use and highly versatile Open Source wiki software that doesn't require a database. It is loved by users for its clean and readable syntax. The ease of maintenance, backup and integration makes it an administrator's favorite. Built in access controls and authentication connectors make DokuWiki especially useful in the enterprise context and the large number of plugins contributed by its vibrant community allow for a broad range of use cases beyond a traditional wiki.
The base container starts with the Centos 7 distribution, adding Apache and all PHP requirements along with DokuWiki.
Edit the DOKUWIKI_INSTALL variable at the top of Dockerfile to install a different version of DokuWiki.
You can comment out the line in Dockerfile that installs php7-curl
and
php7-openssl
if you do not want to install extensions through the DokuWiki
administrative Extension Manager. Extensions can still be installed manually.
To change which port Apache listens on, edit app/apache.conf
changing:
<VirtualHost *:80>
from 80
to your desired port. Then, also edit the EXPOSE
toward the end of
Dockerfile, again changing `80 to your new port.
- install/enable some plugins
- configure email