====== DokuWiki Notes ====== notes about deployment, maintenance and troubleshooting of self-hosted DokuWiki instance. ===== Deployment ===== Current deployment is a very rudimentary docker-compose stack using some old Bitnami image: version: '3' services: main: image: docker.io/bitnami/dokuwiki:latest ports: - '8051:8080' - '4051:8443' volumes: - 'data:/bitnami/dokuwiki' #- '/data/bitnami-dokuwiki_data:/bitnami/dokuwiki' networks: - internal restart: unless-stopped # labels: # - "com.centurylinklabs.watchtower.enable=false" volumes: data: driver: local networks: internal: external: name: internal There are several problems with this deployment: * the official bitnami image is actually hosted at https://hub.docker.com/r/bitnami/dokuwiki/ - not sure where "docker.io/bitnami/dokuwiki:latest" came from * no caching (not really an issue in this small instance, but adding redis cache may be a good idea * local volumes - should at least save into a bind volume, or NFS mount on the host ===== Proper Deployment ===== https://www.patreon.com/posts/running-dokuwiki-42961375 https://loganmarchione.com/2022/03/the-best-way-to-run-dokuwiki-in-docker/