Swagger and Health UI after deployment
Swagger and Health UI after deployment
There are a few thins to consider:
- swagger is not deployed in production build by default (can be set in application.yml, https://quarkus.io/guides/openapi-swaggerui#quarkus-swaggerui_quarkus.swagger-ui.always-include)
- health/live endpoints are not routed via traefik proxy by default, you need to change your deployment stack file and add custom rules for that (checkout deployment/docker/<stack>.yml) and look for traefik rules in labels.
- alsow swagger-ui and openapi endpoints need to included in traefik rules
- be careful when exposing thos endpoints (security)
There are a few thins to consider:
- swagger is not deployed in production build by default (can be set in application.yml, https://quarkus.io/guides/openapi-swaggerui#quarkus-swaggerui_quarkus.swagger-ui.always-include)
- health/live endpoints are not routed via traefik proxy by default, you need to change your deployment stack file and add custom rules for that (checkout deployment/docker/<stack>.yml) and look for traefik rules in labels.
- be careful when exposing thos endpoints (security)
Swagger and Health UI after deployment
There are a few thins to consider:
- swagger is not deployed in production build by default (can be set in application.yml, https://quarkus.io/guides/openapi-swaggerui#quarkus-swaggerui_quarkus.swagger-ui.always-include)
- health/live endpoints are not routed via traefik proxy by default, you need to change your deployment stack file and add custom rules for that (checkout deployment/docker/<stack>.yml) and look for traefik rules in labels.
- be careful when exposing thos endpoints (security)