madhuakula / raneto-docker

Docker container for Markdown based Raneto Knowledgebase

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Knowledgebase in a Docker container using Raneto

Raneto is an open source Knowledgebase platform that uses static Markdown files to power your Knowledgebase.

This docker container is to setup Knowledgebase available in a container to start your centralised documentation in seconds.

More details about the project can be found here

How to use docker container

The simple and quick way to use this container is as follows.

Software required to use docker container

  • Docker (Tested version 1.13.0)

Steps to use container

  • Pull the Raneto image from the docker hub
docker pull appsecco/raneto
  • Clone the repostiory for sample configuration and content
git clone https://github.com/appsecco/raneto-docker.git

cd raneto-docker
  • Make changes for configuration if required in config/config.default.js

  • Then you are ready to run the Knowledgebase

docker run -v `pwd`/content/:/data/content/ -v `pwd`/config/config.default.js:/opt/raneto/example/config.default.js -p 3000:3000 -d appsecco/raneto
  • Then navigate to http://localhost:3000

  • If you want to add more content to the Knowledgebase. Just add your directories (or) markdown files to the content folder in host system. It will update automatically

Note

  • To add custom theme, we have to mount the folder inside container and update configuration file. For example theme folder in current working directory
docker run -v `pwd`/content/:/data/content/ -v `pwd`/config/config.default.js:/opt/raneto/example/config.default.js -v `pwd`/theme/:/data/theme/ -p 3000:3000 -d appsecco/raneto

Please feel free to make a pull request or tweet to me @madhuakula for improvements and suggestions

About

Docker container for Markdown based Raneto Knowledgebase


Languages

Language:JavaScript 73.3%Language:Dockerfile 26.7%