๐ณ DokuWiki Docker image based on Alpine Linux.
If you are interested, check out my other ๐ณ Docker images!
๐ก Want to be notified of new releases? Check out ๐ Diun (Docker Image Update Notifier) project!
- Run as non-root user
- Multi-platform image
- Traefik as reverse proxy and creation/renewal of Let's Encrypt certificates (see this template)
Following platforms for this image are available:
$ docker run --rm mplatform/mquery crazymax/dokuwiki:latest
Image: crazymax/dokuwiki:latest
* Manifest List: Yes
* Supported platforms:
- linux/amd64
- linux/arm/v6
- linux/arm/v7
- linux/arm64
- linux/386
- linux/ppc64le
TZ
: The timezone assigned to the container (defaultUTC
)PUID
: Dokuwiki user id (default1500
)PGID
: Dokuwiki group id (default1500
)MEMORY_LIMIT
: PHP memory limit (default256M
)UPLOAD_MAX_SIZE
: Upload max size (default16M
)OPCACHE_MEM_SIZE
: PHP OpCache memory consumption (default128
)REAL_IP_FROM
: Trusted addresses that are known to send correct replacement addresses (default0.0.0.0/32
)REAL_IP_HEADER
: Request header field whose value will be used to replace the client address (defaultX-Forwarded-For
)LOG_IP_VAR
: Use another variable to retrieve the remote IP address for access log_format on Nginx. (defaultremote_addr
)
/data
: Contains configuration, plugins, templates and data
โ ๏ธ Note that the volume should be owned by the user/group with the specifiedPUID
andPGID
. If you don't give the volume correct permissions, the container may not start.
8000
: HTTP port
Docker compose is the recommended way to run this image. You can use the following docker compose template, then run the container:
docker-compose up -d
docker-compose logs -f
You can also use the following minimal command :
docker run -d -p 8000:8000 --name dokuwiki \
-v $(pwd)/data:/data \
crazymax/dokuwiki:latest
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
All kinds of contributions are welcome ๐! The most basic way to show your support is to star ๐ the project, or to raise issues ๐ฌ You can also support this project by becoming a sponsor on GitHub ๐ or by making a Paypal donation to ensure this journey continues indefinitely! ๐
Thanks again for your support, it is much appreciated! ๐
MIT. See LICENSE
for more details.