fix Deployment

This commit is contained in:
2025-07-28 16:03:49 +08:00
parent d2935b8f97
commit 3257239792
2 changed files with 10 additions and 11 deletions

View File

@@ -91,17 +91,22 @@ logger:
enable_performance_logging: true
max_body_size: 10240 # 10KB
exclude_paths: ["/health", "/metrics", "/favicon.ico", "/swagger"]
# ===========================================
# 🔐 JWT配置
# ===========================================
# JWT_SECRET 必须通过外部环境变量注入
# ===========================================
# 🔐 JWT配置
# ===========================================
jwt:
secret: JwT8xR4mN9vP2sL7kH3oB6yC1zA5uF0qE9tW
# ===========================================
# 📊 监控配置
# ===========================================
monitoring:
metrics_enabled: false # 生产环境禁用Prometheus指标收集
metrics_port: "" # 清空metrics端口
tracing_enabled: false # 生产环境禁用链路追踪
tracing_endpoint: "" # 清空追踪端点
sample_rate: 0.0 # 采样率为0
# ===========================================
# 📁 存储服务配置 - 七牛云
# ===========================================