Public | Automated Build

Last pushed: a year ago
Short Description
Dockerized version of slate
Full Description

crazw-docker-slate

Build

docker build -t crazw/slate .

Run command

docker run -d --name slate \
    -p 4567:4567 \
    -v /Users/crazw/Github/docker/slate/source/slate/:/app/source \
    crazw/slate

Custom

In your source documentation folder (which looks like this), create a Dockerfile with the following contents:

FROM tutum/slate

And a docker-compose.yml with the following contents:

version: "2.0"
services:
    slate:
        container_name: slate
        image: crazw/slate
        ports:
            - "4567:4567"
        volumes:
            - /Users/crazw/Github/docker/slate/source/slate/:/app/source

    vpe-api:
        container_name: vpe-api
        image: crazw/slate
        ports:
            - "4500:4567"
        volumes:
            - /Users/crazw/Github/docker/slate/source/vpe-api/:/app/source

Use Docker Compose to run it:

docker-compose up -d

Go to http://localhost:4567/ and you will see your new API beautiful documentation.

Reference

tutum-docker-slatehttps://github.com/tutumcloud/slate

Docker Pull Command
Owner
crazw
Source Repository

Comments (0)