From 5947fa5abc1f29930b0143a175c2ac6d04193ee6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20Dry=C5=9B?= Date: Wed, 22 Nov 2023 09:01:40 +0100 Subject: [PATCH] fix: complete removal of swagger ui (#15) --- docker-compose.yml | 10 ---------- docker/swaggerui/Dockerfile | 6 ------ 2 files changed, 16 deletions(-) delete mode 100644 docker/swaggerui/Dockerfile diff --git a/docker-compose.yml b/docker-compose.yml index 39a9c02..ae0a3d9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -71,16 +71,6 @@ services: environment: - ALLOW_EMPTY_PASSWORD=yes - swaggerui: - build: - context: . - dockerfile: docker/swaggerui/Dockerfile - ports: - - "8080:8080" - volumes: - - ./api/openapi:/usr/share/nginx/html/doc - - # docker compose always mount named volumes as root (https://github.com/docker/compose/issues/3270) # and without changing permission, we want be able to access shared volume shared-volume-init: diff --git a/docker/swaggerui/Dockerfile b/docker/swaggerui/Dockerfile deleted file mode 100644 index 323be0b..0000000 --- a/docker/swaggerui/Dockerfile +++ /dev/null @@ -1,6 +0,0 @@ -FROM swaggerapi/swagger-ui - -ENV URLS_PRIMARY_NAME "RestAPI" -ENV URLS "[{url: 'doc/rest.yaml', name: 'RestAPI'}, {url: 'doc/websocket.yaml', name: 'WebsocketAPI'}, {url: 'doc/admin.yaml', name: 'Admin RestAPI'},]" - -COPY ./api/openapi /usr/share/nginx/html/doc