Sign inSign up

joshuamarquez/api-console

By joshuamarquez

•Updated over 9 years ago

Docker image for https://github.com/mulesoft/api-console

Image
0

6.9K

joshuamarquez/api-console repository overview

⁠docker-api-console

Docker image for https://github.com/mulesoft/api-console⁠

⁠Install

$ docker pull joshuamarquez/api-console

⁠Quick example

$ docker run -p 9000:9000 -d joshuamarquez/api-console

then go to http://localhost:9000 and you will see the example RAML API.

⁠Use own RAML files

This image will load RAML file api.raml located in container at /api-console/dist/raml, so to replace it and even add you own RAML files structure just mount a VOLUME like below.

docker run -v $(pwd):/api-console/dist/raml -p 9000:9000 -p 35729:35729 -d joshuamarquez/api-console

Notes

  • For the command above to work a RAML file named api.raml should exists in the directory were command was ran the same for any types, traits, securitySchemes, resourceTypes, etc.
  • Any changes to RAML files mounted will be reflected instantly, thats why PORT 35729 needs to be exposed (livereload).

Tag summary

Content type

Image

Digest

Size

35.3 MB

Last updated

over 9 years ago

docker pull joshuamarquez/api-console