diff --git a/docs/usage/installation.md b/docs/usage/installation.md index f39626cd..6713f05f 100644 --- a/docs/usage/installation.md +++ b/docs/usage/installation.md @@ -75,6 +75,12 @@ Or you can provide your own swagger.json on your host docker run -p 80:8080 -e SWAGGER_JSON=/foo/swagger.json -v /bar:/foo swaggerapi/swagger-ui ``` +You can also provide a URL to a swagger.json on an external host: + +``` +docker run -p 80:8080 -e SWAGGER_JSON_URL=https://petstore3.swagger.io/api/v3/openapi.json swaggerapi/swagger-ui +``` + The base URL of the web application can be changed by specifying the `BASE_URL` environment variable: ```