Merge pull request #3579 from OpenGov/bug/SWAGGER_JSON-doc-fix

Updated docs for correct usage of SWAGGER_JSON
This commit is contained in:
Ron
2017-09-11 05:25:16 -07:00
committed by GitHub

View File

@@ -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