Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: full-spectrum runtime Docker configuration #4965

Merged
merged 13 commits into from
Nov 1, 2018
Prev Previous commit
Next Next commit
add note to README
  • Loading branch information
shockey committed Oct 24, 2018
commit 9782b82f2d7e26a7345998e7014bfc8ec1fc2b19
6 changes: 4 additions & 2 deletions docs/usage/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ const ui = SwaggerUIBundle({

`SwaggerUIBundle` is equivalent to `SwaggerUI`.

### Docker Hub
### Docker

You can pull a pre-built docker image of the swagger-ui directly from Dockerhub:
You can pull a pre-built docker image of the swagger-ui directly from Docker Hub:

```
docker pull swaggerapi/swagger-ui
Expand All @@ -81,6 +81,8 @@ docker run -p 80:8080 -e BASE_URL=/swagger -e SWAGGER_JSON=/foo/swagger.json -v

This will serve Swagger UI at `/swagger` instead of `/`.

For more information on controlling Swagger UI through the Docker image, see the Docker section of the [Configuration documentation](docs/usage/configuration.md#docker).

### unpkg

You can embed Swagger-UI's code directly in your HTML by using unpkg's interface:
Expand Down