Forked from prologic/wiki to reduce Docker image size.
wiki is a self-hosted well uh wiki engine or content management system that lets you create and share content in Markdown format.
$ go install github.com/prologic/wiki/...
Run wiki:
$ wiki
Visit: http://localhost:8000/
Start creating/editing content!
By default wiki pages are stored in ./data
in the local directory. This can
be changed by supplying the -data /path/to/data
option.
Docker image is available at Docker Hub.
docker run -p 8000:8000 nbarnum/wiki
With persistent data storage:
docker run -p 8000:8000 -v /path/to/your/data:/data nbarnum/wiki
To change the "Wiki" branding at the top of the page you can pass an environment variable "WIKI_BRAND":
docker \
run -p 8000:8000 \
-v /path/to/your/data:/data \
-e WIKI_BRAND=MyWiki \
nbarnum/wiki
docker build -t $USER/wiki .
Remove the intermediate build image (and all other dangling images)
docker system prune
Then run the new image
docker run -p 8000:8000 $USER/wiki
MIT