add swagger-ui
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Torma Kristóf 2020-03-10 15:58:29 +01:00
parent bee83aeb29
commit 806d1faa30

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