Skip to content

Commit

Permalink
add QUERY_CONFIG_ENABLED to swagger-ui in kubernetes and docker-compo…
Browse files Browse the repository at this point in the history
…se directory;

Signed-off-by: Stefan Maute <stefan.maute@bosch.io>
  • Loading branch information
Stefan Maute committed Mar 31, 2022
1 parent e30d9f9 commit 26ba47e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deployment/docker/docker-compose.yml
Expand Up @@ -222,6 +222,8 @@ services:
image: docker.io/swaggerapi/swagger-ui:v4.6.1
mem_limit: 32m
restart: always
environment:
- QUERY_CONFIG_ENABLED=true
volumes:
- ../../documentation/src/main/resources/openapi:/usr/share/nginx/html/openapi:ro
- ../../documentation/src/main/resources/images:/usr/share/nginx/html/images:ro
Expand Down
3 changes: 3 additions & 0 deletions deployment/kubernetes/deploymentFiles/swagger/swagger.yaml
Expand Up @@ -33,6 +33,9 @@ spec:
containers:
- name: swagger-ui
image: docker.io/swaggerapi/swagger-ui:v4.6.1
env:
- name: QUERY_CONFIG_ENABLED
value: "true"
volumeMounts:
- name: swagger-ui-api
mountPath: /usr/share/nginx/html/openapi
Expand Down

0 comments on commit 26ba47e

Please sign in to comment.