mirror of
https://github.com/EZ-Api/ez-api.git
synced 2026-01-13 17:47:51 +00:00
feat(swagger): support dynamic host via EZ_SWAGGER_HOST env var
- Add ServerConfig.SwaggerHost field - Set docs.SwaggerInfo.Host dynamically at startup - Update docker-compose, k8s manifests, and .env.example
This commit is contained in:
@@ -153,6 +153,12 @@ spec:
|
||||
configMapKeyRef:
|
||||
name: ez-api-config
|
||||
key: EZ_LOG_PARTITIONING
|
||||
# Swagger Host
|
||||
- name: EZ_SWAGGER_HOST
|
||||
valueFrom:
|
||||
configMapKeyRef:
|
||||
name: ez-api-config
|
||||
key: EZ_SWAGGER_HOST
|
||||
resources:
|
||||
requests:
|
||||
memory: "128Mi"
|
||||
|
||||
Reference in New Issue
Block a user