This commit is contained in:
2026-04-18 11:10:59 +03:00
parent 427843f8fc
commit 4dcf6efd56

View File

@@ -29,18 +29,5 @@ services:
ports: ports:
- "${BACKEND_HOST_PORT}:${SERVER_PORT}" - "${BACKEND_HOST_PORT}:${SERVER_PORT}"
swagger-ui:
image: ${SWAGGER_UI_IMAGE}
container_name: ${SWAGGER_UI_CONTAINER_NAME}
restart: ${COMPOSE_RESTART_POLICY}
depends_on:
- backend
environment:
SWAGGER_JSON: /usr/share/nginx/html/swagger.yaml
ports:
- "${SWAGGER_UI_HOST_PORT}:8080"
volumes:
- ${SWAGGER_SPEC_PATH}:/usr/share/nginx/html/swagger.yaml:ro
volumes: volumes:
volume: volume: