Basic server for Locke documentation system
5.1K
A Docker image to expose your Markdown-based project documentation with Locke.
The last version of this image is based on Node 7.10.0-slim and Locke.
This image works mounting a local documentation folder in a volume inside the container, and exposing Locke on port 80 (standard). It also supports a custom configuration file for Locke.
To run the image mounting only documentation's folder issue:
docker run -p 80:80 -v </path/to/your/content>:/srv/locke/content -d sparkfabrik/docker-locke-server
To run the image with documentation's folder and a custom config file issue:
docker run -p 80:80 -v </path/to/your/content-folder>:/srv/locke/content -v </path/to/your/config-file>:/srv/locke/config.js -d sparkfabrik/docker-locke-server
You can then browse your content visiting:
http://localhost:80
Thanks to chanux who inspired me a bit with his Chanux Raneto Docker image. Thanks to my colleague Paolo Mainardi who forced me to consider Docker as an actual tool, explained me lot of black magic and gave me great advices on sucha small Dockerfile. Raneto team for providing a simple and effective tool for this widespread need. Exactly what I was looking for! :)
Content type
Image
Digest
Size
99.1 MB
Last updated
about 6 years ago
docker pull sparkfabrik/docker-locke-server