Homelab Troubleshooting

Tips on running a Linux server and docker.

User Tools

Site Tools


dokuwiki

DokuWiki Troubleshooting

Application Setup

Upon first install go to https://your_own_wiki_domain.com/install.php

once you have completed the setup, restart the container, login as admin and set “Use nice URLs” in the admin/Configuration Settings panel to .htaccess and tick Use slash as namespace separator in URLs to enable nice URLs you will find the webui at https://your_wiki_domain.com/, for more info see Dokuwiki

The docker solution

Since everything is hosted through docker nowadays I have to mention that the docker-compose.yml that the https://hub.docker.com proposes doesn't expose the postgres port to the host and thus gives you no way to actually connect to it. You have to add some port mapping on the yml file and check whether there is another db already running on the default port on the host so as to either create a db in that or simpy avoid conflict.


docker-compose.yml

docker-compose.yml
services:
  dokuwiki:
    image: ghcr.io/linuxserver/dokuwiki
    container_name: dokuwiki
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/Athens
    networks:
      - nginx_reverse_proxy_default
    volumes:
      - ${PWD}/config:/config
    restart: unless-stopped

networks:
  nginx_reverse_proxy_default:
    external: true
    name: nginx_reverse_proxy_default

version: '3.8'
dokuwiki.txt · Last modified: 2021/08/28 17:52 by alexk7110