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

28 lines
701 B
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# config.yaml — 由 ConfigMap 挂载到 /app/config.yaml;不得放入任何 Secret。 // Logan.Li
# 注意:环境变量优先级高于此文件 (viper AutomaticEnv)
# 默认 MODE=local(Deployment env)→ SQLite + redka,无需外部 MySQL/Redis
# 集群模式:Deployment 设 MODE=release 并配置 DATABASE_/REDIS_ 环境变量
apiVersion: v1
kind: ConfigMap
metadata:
name: aiops-config
namespace: devops
data:
config.yaml: |
mode: local
port: "8080"
log_level: info
database:
driver: sqlite
dbname: sqlite3.db
max_conn: 100
max_idle: 10
redis:
driver: redka
host: localhost
port: 6379
password: ""
db: 0