Updated docs for correct usage of SWAGGER_JSON
This commit is contained in:
@@ -46,7 +46,7 @@ Will start nginx with swagger-ui on port 80.
|
|||||||
Or you can provide your own swagger.json on your host
|
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
|
docker run -p 80:8080 -e SWAGGER_JSON=/foo/swagger.json -v /bar:/foo swaggerapi/swagger-ui
|
||||||
```
|
```
|
||||||
|
|
||||||
##### Prerequisites
|
##### Prerequisites
|
||||||
|
|||||||
Reference in New Issue
Block a user