Point swagger-ui to a local eventbus

This commit is contained in:
R Tyler Croy 2019-05-24 21:43:38 -07:00
parent bdfae84dcd
commit 8ab484429c
No known key found for this signature in database
GPG Key ID: E5C92681BEF6CEA2
2 changed files with 3 additions and 2 deletions

View File

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

View File

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