add swagger-ui
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Torma Kristóf 2020-03-10 15:58:29 +01:00
parent bee83aeb29
commit 806d1faa30
1 changed files with 13 additions and 1 deletions

View File

@ -13,6 +13,8 @@ networks:
external: false
xwiki:
external: false
swagger:
external: false
services:
smtp:
@ -258,4 +260,14 @@ services:
- POSTGRES_USER=xwiki
- POSTGRES_DB=xwiki
networks:
- xwiki
- xwiki
swagger-ui:
image: swaggerapi/swagger-ui
networks:
- swagger
ports:
- "127.0.0.1:8082:8080"
volumes:
- ./swagger/openapi.json:/openapi.json
environment:
SWAGGER_JSON: /openapi.json