Point swagger-ui to a local eventbus
This commit is contained in:
parent
bdfae84dcd
commit
8ab484429c
|
@ -9,7 +9,7 @@ info:
|
|||
license:
|
||||
name: 'GNU AGPL 3.0'
|
||||
url: 'https://www.gnu.org/licenses/agpl-3.0.en.html'
|
||||
host: 'ottodeploys.us'
|
||||
host: 'localhost:8080'
|
||||
externalDocs:
|
||||
description: 'Find out more about Otto'
|
||||
url: 'https://github.com/rtyler/otto'
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
#!/bin/sh
|
||||
|
||||
exec docker run --rm -ti \
|
||||
-p 8080:8080 \
|
||||
--net host \
|
||||
-e PORT=8000 \
|
||||
-e SWAGGER_JSON=/data/apispec/$1.yml \
|
||||
-v $PWD:/data \
|
||||
swaggerapi/swagger-ui:latest
|
||||
|
|
Loading…
Reference in New Issue