refactor CHORUS
This commit is contained in:
@@ -606,9 +606,9 @@ services:
|
||||
CHORUS-crypto:
|
||||
image: CHORUS/crypto-service:latest
|
||||
environment:
|
||||
- BZZZ_CONFIG_PATH=/etc/CHORUS/config.yaml
|
||||
- BZZZ_LOG_LEVEL=info
|
||||
- BZZZ_AUDIT_STORAGE=postgresql
|
||||
- CHORUS_CONFIG_PATH=/etc/CHORUS/config.yaml
|
||||
- CHORUS_LOG_LEVEL=info
|
||||
- CHORUS_AUDIT_STORAGE=postgresql
|
||||
volumes:
|
||||
- ./config:/etc/CHORUS
|
||||
- ./logs:/var/log/CHORUS
|
||||
@@ -621,7 +621,7 @@ services:
|
||||
postgresql:
|
||||
image: postgres:13
|
||||
environment:
|
||||
- POSTGRES_DB=bzzz_audit
|
||||
- POSTGRES_DB=chorus_audit
|
||||
- POSTGRES_USER=CHORUS
|
||||
- POSTGRES_PASSWORD_FILE=/run/secrets/db_password
|
||||
volumes:
|
||||
@@ -676,9 +676,9 @@ spec:
|
||||
- containerPort: 8443
|
||||
name: https
|
||||
env:
|
||||
- name: BZZZ_CONFIG_PATH
|
||||
- name: CHORUS_CONFIG_PATH
|
||||
value: "/etc/CHORUS/config.yaml"
|
||||
- name: BZZZ_LOG_LEVEL
|
||||
- name: CHORUS_LOG_LEVEL
|
||||
value: "info"
|
||||
volumeMounts:
|
||||
- name: config
|
||||
@@ -761,7 +761,7 @@ key_integrity_status{role="backend_developer",status="valid"}
|
||||
```yaml
|
||||
# Prometheus alerting rules
|
||||
groups:
|
||||
- name: bzzz_crypto_security
|
||||
- name: chorus_crypto_security
|
||||
rules:
|
||||
- alert: HighSecurityRiskAccess
|
||||
expr: security_risk_score > 0.8
|
||||
|
||||
Reference in New Issue
Block a user