Skip to content

🐳 DokuWiki Docker image based on Alpine Linux and Nginx

License

Notifications You must be signed in to change notification settings

yohfdo/docker-dokuwiki-1

 
 

Repository files navigation

Version Build Status Docker Stars Docker Pulls Docker Repository on Quay Code Quality Paypal

About

🐳 DokuWiki Docker image based on Alpine Linux and Nginx.
If you are interested, check out my other 🐳 Docker images!

Features

Included

  • Alpine Linux 3.9, Nginx, PHP 7.2
  • Tarball authenticity checked during building process
  • OPCache enabled to store precompiled script bytecode in shared memory
  • Data, configuration, plugins and templates are stored in an unique folder

From docker-compose

  • Traefik as reverse proxy and creation/renewal of Let's Encrypt certificates

Docker

Environment variables

  • TZ : The timezone assigned to the container (default UTC)
  • MEMORY_LIMIT : PHP memory limit (default 256M)
  • UPLOAD_MAX_SIZE : Upload max size (default 16M)
  • OPCACHE_MEM_SIZE : PHP OpCache memory consumption (default 128)

Volumes

  • /data : Contains configuration, plugins, templates and data

Ports

  • 8000 : HTTP port

Use this image

Docker Compose

Docker compose is the recommended way to run this image. You can use the following docker compose template, then run the container :

touch acme.json
chmod 600 acme.json
docker-compose up -d
docker-compose logs -f

Command line

You can also use the following minimal command :

docker run -d -p 8000:8000 --name dokuwiki \
  -v $(pwd)/data:/data \
  crazymax/dokuwiki:latest

Upgrade

You can upgrade DokuWiki automatically through the UI, it works well. But i recommend to recreate the container whenever i push an update :

docker-compose pull
docker-compose up -d

How can I help ?

All kinds of contributions are welcome 🙌!
The most basic way to show your support is to star 🌟 the project, or to raise issues 💬
But we're not gonna lie to each other, I'd rather you buy me a beer or two 🍻!

Paypal

License

MIT. See LICENSE for more details.

About

🐳 DokuWiki Docker image based on Alpine Linux and Nginx

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 100.0%