/docker-madness

Docker Image for the Madness Markdown Server

Primary LanguageRuby

Docker Madness Markdown Server

REPOSITORY DEPRECATION NOTICE
This repository is now merged into the madness repository. Please refer to it instead.


This is a dockerized version of the Madness markdown server ruby gem.

It allows you to start a webserver that shows your markdown documentation folder.

Usage

The easiest way to use this image, is to create a shell alias:

$ alias madness='docker run --rm -it -v $PWD:/docs -p 3000:3000 dannyben/madness'
$ madness --help

Use with docker-compose

Put this in your docker-compose.yml:

# docker-compose.yml
services:
  web:
    image: dannyben/madness
    volumes: [".:/docs"]
    ports: ["3000:3000"]
    command: server

Then run:

$ docker-compose up

Additional Information