Files
Logan.Li fd60361d93 chore: 统一本地服务器与远程仓库源码
- 合并 main 与 master 历史并以服务器结构为基线
- 保留迁移、数据保留、AWS 账单与部署安全能力
- 建立 SDD 规格和 CI 验证闭环
2026-08-05 20:03:25 +08:00

50 lines
934 B
YAML

mode: "local"
port: "8080"
log_level: "info"
database:
driver: "sqlite"
host: "localhost"
port: 3306
user: ""
password: ""
dbname: "sqlite3.db"
charset: "utf8mb4"
max_conn: 100
max_idle: 10
redis:
host: "localhost"
port: 6379
driver: "redka"
password: ""
db: 0
jwt:
secret: "aiops-local-dev-secret-change-in-production"
expire_hour: 24
# Agent 凭证和高频数据保留策略。生产环境请通过独立配置或环境变量覆盖。 // Logan.Li
agent:
enforce_auth: false
retention:
agent_reports_days: 7
metric_history_days: 30
metric_aggregate_days: 365
snmp_samples_days: 30
site_results_days: 30
log_entries_days: 30
cleanup_batch_size: 10000
# 云账单统一折算口径:汇率表示 1 单位原币折合多少 CNY。 // Logan.Li
billing:
base_currency: "CNY"
exchange_rates:
CNY: 1
USD: 7.2
websocket:
read_buffer_size: 1024
write_buffer_size: 1024