GitHunt
IA

ianneub/docker-swagger-ui

Swagger UI Docker image using Nginx

Swagger UI for Docker

This Dockerfile packages up Swagger UI and runs it with Nginx.

Setting the Swagger URL

You can set the Swagger URL at runtime by setting the URL environment variable.

Example

docker run -it --rm -p 3000:80 --name test -e "URL=http://petstore.swagger.io/v2/swagger.json" ianneub/swagger-ui

Try it out on Tutum

Deploy to Tutum

Check your stack after deploying to get your URL to test with.

Languages

Shell100.0%

Contributors

Created May 12, 2015
Updated March 10, 2023