How to Install DokuWiki on Your Synology NAS

How to Install Dokuwiki on Your Synology NAS

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. In this step by step guide I will show you how to install DokuWiki on your Synology NAS using Portainer.

  • STEP 1

Please Support My work by Making a Donation.

  • STEP 2

Install Portainer using my step by step guide. If you already have Portainer installed on your Synology NAS, skip this STEP.

  • STEP 3

Go to File Station and open the docker folder. Inside the docker folder, create one new folder and name it dokuwiki. Follow the instructions in the image below.

1 Synology NAS DokuWiki Docker container set up

  • STEP 4

Inside the dokuwiki folder create a new folder and name it config. Follow the instructions in the image below.

2 Synology NAS DokuWiki Docker container set up

  • STEP 5

Log into Portainer using your username and password. On the Portainer left sidebar click on Stacks. After you click on Stacks, a new screen will open. Click + Add Stack. In the Name field type in dokuwiki. Follow the instructions in the image below.

Note: In the Portainer Stacks Web editor Copy Paste the code below.

version: "2.9"
services:
  dokuwiki:
    image: linuxserver/dokuwiki
    container_name: dokuwiki
    environment:
      - PUID=1026
      - PGID=100
      - TZ=Europe/Bucharest
    volumes:
      - /volume1/docker/dokuwiki/config:/config
    ports:
      - 8080:80
      - 4443:443
    restart: always

After you paste the code in the Web editor, change the value for TZ (Select your current Time Zone from this list).
After you paste the code in the Web editor, change the value numbers for PUID and PGID with your own values. (Follow my step by step guide on how to do this.)
Note: If you have your docker folder in a different volume, then change /volume1/docker/dokuwiki/config according to your settings. For example: /volume2/docker/dokuwiki/config or /volume3/docker/dokuwiki/config etc.

3 Synology NAS DokuWiki Docker container set up

  • STEP 6

Scroll down on the page until you see a button named Deploy the stack. Click on it. Follow the instructions in the image below. The installation process can take up to a few minutes. It will depend on your Internet speed connection.

4 Synology NAS DokuWiki Docker container set up

  • STEP 7

If everything goes right, you will see this message at the top right of your screen: “Stack successfully deployed“.

5 Synology NAS DokuWiki Docker container set up

  • STEP 8

Go back to STEP 1. Remember that this is a free guide. Please support the content creator you love. 🙂

  • STEP 9

Now open your browser and type in http://Synology-ip-address:8080/ Follow the instructions in the image below. Enjoy your DokuWiki!

6 Synology NAS DokuWiki Docker container set up

Note: Find out how to update DokuWiki container with the latest image.
Note: Can I run Docker on my Synology NAS? See the supported models.
Note: You can also install DokuWiki using Synology Package Center but the version provided by Synology is out of date.

This post was updated on Sunday / September 20th, 2020 at 12:08 AM