# Create a directory for the compose file
mkdir -p /root/docker/compose-files
cd /root/docker/compose-files
# Next download a copy of `docker-compose.yml` into that directory
wget https://raw.githubusercontent.com/HACManchester/docker-dokuwiki/master/docker-compose.yml
Set the destination directory for the dokuwiki files
volumes:
- /root/docker/appdata/dokuwiki/config:/config
Set the network ports that will be exposed on the host
ports:
- 8000:80
- 4443:443
Bring up the docker container
docker compose -f ./docker-compose.yml up
Now the wiki should be visible on
Default Login (this needs to be changed)
- root
- %Password123