fix: complete removal of swagger ui (#15)

This commit is contained in:
Krzysztof Dryś 2023-11-22 09:01:40 +01:00 committed by GitHub
parent 134b4b3ac4
commit 5947fa5abc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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