57 lines
1.3 KiB
YAML
57 lines
1.3 KiB
YAML
registry: 192.168.1.105:8888/mixingx
|
|
tag: latest
|
|
timezone: Asia/Shanghai
|
|
|
|
storage:
|
|
className: local-path
|
|
|
|
sharedInfra:
|
|
postgres:
|
|
image: docker.io/library/postgres:17
|
|
username: postgres
|
|
password: "Admin12345"
|
|
port: 5432
|
|
otlp:
|
|
endpoint: http://k8s-dashboard-service:18889
|
|
protocol: grpc
|
|
|
|
audit:
|
|
enabled: true
|
|
port: 5900
|
|
replicas: 2
|
|
database: audit-db
|
|
pgStorage: 5Gi
|
|
# 数据保留月数,按完整自然月清理分区(后端 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"
|
|
# 消费队列/并发配置
|
|
consume:
|
|
queueCapacity: 128
|
|
queueMaxWaitMs: 5000
|
|
dbWriteTimeoutMs: 3000
|
|
concurrency: 4
|
|
|
|
images:
|
|
audit:
|
|
repository: audit
|
|
tag: ""
|
|
auditWeb:
|
|
repository: audit-web
|
|
tag: ""
|
|
|
|
tier:
|
|
enabled: false
|
|
nodeLabel: mixingx.io/tier
|
|
services:
|
|
audit: { mode: required, tiers: [infra] }
|