docker-ikiwiki
Overview
This dockerfile build a dockerized ikiwiki server. Ikiwiki is a git backend based wiki engine. You can find more information on ikiwiki here
The docker image is based on debian/jessie, the web server used is lighttpd. A ssh server is also started in order to be able to use the git workflow with ikiwiki. An user can connect through ssh server with the user www-data (same password than login). A volume is required to make the initial data import to the container local repository.
How to build the image
The docker image can be built with this command:
docker build -t ikiwiki:latest .
How to run the container
docker run -v <local git repository>:/wiki -p 2222:22 -p 8080:80 ikiwiki:latest
The container can also be run from the pre-built image on docker hub with this command:
docker run -v <local git repository>:/wiki -p 2222:22 -p 8080:80 dgsb/ikiwiki
The wiki server will be accessible through:
http://127.0.0.1:8080
The container repository can be added as a remote in the local git repository:
git remote add docker ssh://www-data@127.0.0.1:2222/var/wwww/wiki.git