Update README.md (#1130)

This commit is contained in:
Neel Kamath 2020-05-09 17:02:27 +05:30 committed by GitHub
parent 10414fc6d5
commit 63ec3d120c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,6 +13,12 @@ Serve local file:
-v $(pwd)/demo/swagger.yaml:/usr/share/nginx/html/swagger.yaml \
-e SPEC_URL=swagger.yaml redocly/redoc
Serve local file and watch for updates:
docker run -it --rm -p 80:80 \
-v $(pwd)/demo/:/usr/share/nginx/html/swagger/ \
-e SPEC_URL=swagger/swagger.yaml redocly/redoc
## Runtime configuration options
- `PAGE_TITLE` (default `"ReDoc"`) - page title