mirror of
https://github.com/twofas/2fas-server.git
synced 2024-12-04 16:20:13 +01:00
fix: complete removal of swagger ui
This commit is contained in:
parent
134b4b3ac4
commit
0279926067
@ -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:
|
||||
|
@ -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
|
Loading…
Reference in New Issue
Block a user