feat(mixingx-audit): chart 自包含重做(audit-db Postgres、audit-nanomq、audit-web;JWT 改 SSO base URL;storage/retention 参数)
This commit is contained in:
1 parent
6fcb0340ed
commit
c3fbbb0434
6 files changed
+225
-17
No files matched your search
@@ -2,6 +2,9 @@ registry: 192.168.1.105:8888/mixingx
|
||||
tag: latest
|
||||
timezone: Asia/Shanghai
|
||||
|
||||
storage:
|
||||
className: local-path
|
||||
|
||||
sharedInfra:
|
||||
postgres:
|
||||
image: docker.io/library/postgres:17
|
||||
@@ -18,18 +21,19 @@ audit:
|
||||
replicas: 2
|
||||
database: audit-db
|
||||
pgStorage: 5Gi
|
||||
# MQTT broker (中心 Audit NanoMQ)
|
||||
# 数据保留月数,按完整自然月清理分区(后端 AUDIT_RETENTION_MONTHS)
|
||||
retentionMonths: 6
|
||||
# JWT 鉴权:后端通过 SSO /api/sso/users/info 间接校验 token,这里配置 SSO base URL
|
||||
jwt:
|
||||
ssoBaseUrl: "http://sso-service:8080"
|
||||
# 中心 Audit Broker(ADR-0048)与 audit 专属 PostgreSQL 随本 chart 发布(ADR-0065)
|
||||
mqtt:
|
||||
image: "emqx/nanomq:0.25.2-2"
|
||||
brokerHost: "audit-nanomq-service"
|
||||
brokerPort: 1883
|
||||
managementPort: 8081
|
||||
managementUsername: "admin"
|
||||
managementPassword: "public"
|
||||
# JWT 鉴权(通过 SSO JWKS)
|
||||
jwt:
|
||||
issuer: "mixingx-sso"
|
||||
audience: "mixingx-audit"
|
||||
jwksUri: "http://sso-service:5100/.well-known/jwks.json"
|
||||
# 消费队列/并发配置
|
||||
consume:
|
||||
queueCapacity: 128
|
||||
@@ -41,6 +45,9 @@ images:
|
||||
audit:
|
||||
repository: audit
|
||||
tag: ""
|
||||
auditWeb:
|
||||
repository: audit-web
|
||||
tag: ""
|
||||
|
||||
tier:
|
||||
enabled: false
|
||||
|
||||
Reference in new issue
Block a user