Docker Container for DokuWiki
464
A Docker Container for dokuwiki with sensible default configuration.
The following environmental variables can be used for configuration. Those configurations are only applied if the relevant configuration files do not exist (therefore they are only relevant for the initial start).
TITLEDokuWikiWIKI_LANGenLICENSEcc-by-saUSEACL-1USERadminPASSHASH$2y$10$0a3SbrGSQReVkeaFvfCS0.YrslJgFYq05lOh7Za9FTxQjKTiMORcG (the hash for password)NAMEJohn DoeEMAIL[email protected]ACL_ALL1ACL_USER8SUPERUSER@adminDISABLE_ACTIONSregisterThe following paths are recommended for persisting state and/or accessing configurations
/data/conf/site/lib/plugins/site/lib/tpl/static-docs/static-docsUsage with nginx-proxy inside of predefined steilerGroup network, with nginx-proxy and acme-companion. The php container is expected to provide php-fpm from wiki_php:9000 and needs to have opcache mbstring xml intl json curl fileinfo pcntl installed (see documentation). I've created a purpose build image for this: steilerdev/php:7-wiki.
version: '2'
services:
wiki:
image: steilerdev/dokuwiki:latest
container_name: wiki
restart: unless-stopped
environment:
VIRTUAL_HOST: "wiki.<tld>.net"
VIRTUAL_PORT: 80
LETSENCRYPT_HOST: "wiki.<tld>.net"
TITLE: "Wiki"
WIKI_LANG: "de"
LICENSE: "cc-by-nc"
USEACL: 1
USER: "JohnDoe"
NAME: "John Doe"
EMAIL: "[email protected]"
volumes:
- "/opt/docker/wiki/volumes/data:/data"
- "/opt/docker/wiki/volumes/conf:/conf"
- "/opt/docker/wiki/volumes/plugins:/site/lib/plugins"
- "/opt/docker/wiki/volumes/templates:/site/lib/tpl"
- "/opt/docker/wiki/volumes/static-docs:/static-docs"
wiki_php:
image: steilerdev/php:7-wiki
container_name: wiki_php
restart: unless-stopped
volumes_from:
- "wiki"
networks:
default:
external:
name: steilerGroup
Content type
Image
Digest
sha256:80617d7c6…
Size
84.5 MB
Last updated
over 3 years ago
docker pull steilerdev/dokuwiki