feature: full-spectrum runtime Docker configuration (via #4965)
* reorganize docker things * Configurator WIP * implement Docker runtime config generator * add tests * update documentation * fix Markdown tables * Move Docker section * add note to README * move up `nodejs` install for more aggressive caching * drop exclusive test * fix missing `DISPLAY_OPERATION_ID`
This commit is contained in:
@@ -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
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user