Skip to content

Commit

Permalink
docker-compose option added
Browse files Browse the repository at this point in the history
  • Loading branch information
claymodel committed Mar 24, 2016
1 parent 2a1eca7 commit 17ea197
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,20 @@ or
http://localhost:8002/?url=http://petstore.swagger.io/v2/swagger.json
```

### Running from docker

Running the docker

```
docker-compose up

This comment has been minimized.

Copy link
@a550808

a550808 Jan 6, 2018

#79
swagger-api:master claymodel:feature / docker -compose

```

Using the service from docker

```
http://$(docker-machine ip default):8080/?url=http://petstore.swagger.io/v2/swagger.json
```

---
<img src="http://swagger.io/wp-content/uploads/2016/02/logo.jpg"/>

4 changes: 4 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
swagger-validator:
build: .
ports:
- 8080:8080

0 comments on commit 17ea197

Please sign in to comment.