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:
@@ -18,6 +18,8 @@ data:
|
||||
EZ_LOG_RETENTION_DAYS: "30"
|
||||
EZ_LOG_MAX_RECORDS: "1000000"
|
||||
EZ_LOG_PARTITIONING: "off"
|
||||
# Swagger UI Host (留空则使用相对路径)
|
||||
EZ_SWAGGER_HOST: ""
|
||||
|
||||
# Balancer configuration
|
||||
EZ_BALANCER_PORT: "8081"
|
||||
|
||||
Reference in New Issue
Block a user