content:serverbasics:docker-dokuwiki
This version is outdated by a newer approved version.
This version (2024/04/20 21:00) was approved by obel1x.
This version (2024/04/20 21:00) was approved by obel1x.Dies ist eine alte Version des Dokuments!
Docker: Dokuwiki
To have a small and nice Wiki running, i am using Dokuwiki.
I would not recommend to bind the wiki directly to the internet, but rather use Caddy for setting up SSL (see other section here) and to proxy the requests, so i will not open SSL port in this container.
To go for Dokuwiki: Create a folder in your Composer- Directory named e.g. „dokuwiki“. Place the file docker-compose.yml in it with the Content:
services:
dokuwiki:
image: docker.io/bitnami/dokuwiki:latest
restart: always
environment:
- DOKUWIKI_PASSWORD=SomeSecretPassword
- PHP_EXPOSE_PHP=false
- PHP_ENABLE_OPCACHE=true
- APACHE_HTTP_PORT_NUMBER=8079
# - APACHE_HTTPS_PORT_NUMBER=8080
healthcheck:
test: "curl hostname:8079"
interval: "60s"
timeout: "3s"
start_period: "5s"
retries: 3
ports:
- '8079:8079'
volumes:
- dokuwiki_data:/bitnami/dokuwiki
volumes:
dokuwiki_data:
Replace hostname by your hostname and make some good password.
Start it with docker copmpose up -d
Try if it works using http://hostname:8079
For everything else visit: https://docs.bitnami.com/general/apps/dokuwiki/
Thats all
content/serverbasics/docker-dokuwiki.1713639617.txt.gz · Zuletzt geändert: von obel1x
