thomas-barthelemy / docker-stoplight-prism

Lightweight Docker container for the Stoplight.io Prism proxy.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is a minimal docker container (<23mb) for the Stoplight.io Prism proxy.

You can learn more about Stoplight.io and Prism here: https://help.stoplight.io/prism/getting-started

Usage

Basic

docker run webridge/stoplight-prism version

What you really need

Named container running in the background

docker run -d \
    --name=my_proxy \
    -p 4010:4010 \
    -v $(pwd)/config.json:/app/config.json \
    webridge/stoplight-prism run --config=/app/config.json

Logging

# All logs
docker logs my_proxy
# Last 10 lines
docker logs --tail=10 my_proxy

About

Lightweight Docker container for the Stoplight.io Prism proxy.