fix: complete removal of swagger ui

This commit is contained in:
Krzysztof Dryś 2023-11-17 21:56:38 +01:00
parent 134b4b3ac4
commit 0279926067
2 changed files with 0 additions and 16 deletions

View File

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

View File

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