Skip to content

Commit

Permalink
docs: Fixed docker README, added missing redocly repo name (#841)
Browse files Browse the repository at this point in the history
  • Loading branch information
judomu authored and RomanHotsiy committed Mar 11, 2019
1 parent 70faca1 commit 2013973
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions config/docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
Serve remote spec by URL:

docker run -it --rm -p 80:80 \
-e SPEC_URL='http://localhost:8000/swagger.yaml' redoc
-e SPEC_URL='http://localhost:8000/swagger.yaml' redocly/redoc

Serve local file:

docker run -it --rm -p 80:80 \
-v $(PWD)/demo/swagger.yaml:/usr/share/nginx/html/swagger.yaml \
-e SPEC_URL=swagger.yaml redoc
-v $(pwd)/demo/swagger.yaml:/usr/share/nginx/html/swagger.yaml \
-e SPEC_URL=swagger.yaml redocly/redoc

## Runtime configuration options

Expand All @@ -23,4 +23,4 @@ Serve local file:

## Build

docker build -t redoc .
docker build -t redocly/redoc .

0 comments on commit 2013973

Please sign in to comment.