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