Run your own Wiki

How to install a lean Wiki on an Raspberry Pi with Docker GUI Portainer

We continue in our Series of Portainer Container with “DokuWiki”. It’s a simple Text-File based Wiki which fits perfect for small Documentation Projects, or Notebook for your Intranet.

Requirements

Installation

Login to your Portainer Machine and open the Menu “Volumes”. Create a new Volume “dokuwiki”.

Go to Menu “Containers” and create a new Container “dokuwiki” from Image “linuxserver/dokuwiki”

Advertisements

Next up, we configure our Network Ports. In this example, we map the internal (Webserver) Container Port 80 to 10000. Please make sure if Port “10000” is not used by any other Container as external Port (Otherwise use a different Port). This Port will be used to open the Wikis Webpage.

Click on Tab Volumes at the bottom of the Containers Site. Mount “/config” to our new volume “dokuwiki – local”

Click on Tab “Network” and set your Network to “bridge” and Hostname to “dokuwiki”

Tab “Env” Configuration and setup the following Variables:

namevalueHint
PGUID1000User ID (Usually 1000)
PGID1000Group ID (Usually 1000)
TZEurope/BerlinYour Timezone

Click on Restart policy. Set the Policy to “Always” to start the Container at boot.

Now deploy the Container from the “Actions” Section:

It will take some Time to download and start the Container – Be patient. After the Container was deployed, Portainer will switch to the Container list and shows the running Container. Please Note: Even after the Container, started it may take up to 1 Minute until the Webserver is available.

Finally, open the Address “http://IP_of_your_Portainer_host:10000/install.php” in your Browser (Change the Port in the Address if you used a different Port).

You can now complete the DokuWiki Setup depending on your needs from the Installation Website. Your Wiki is reachable at “http://IP_of_your_Portainer_host:10000” afterwards.

*Amazon Affiliate Link