From 806d1faa30e252e4b1a2eef1618ab6ca1c2d4f8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Tue, 10 Mar 2020 15:58:29 +0100 Subject: [PATCH] add swagger-ui --- docker-compose.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index d209d0e..0755b82 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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 \ No newline at end of file + - 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 \ No newline at end of file