fix: 统一数据库默认密码 change_me → cyrene_pass

Docker Compose 和 .env 使用 cyrene_pass,但 5 个 Go 源码文件
和 DevTools config.js 中的 fallback 密码仍是 change_me,
导致 memory-service/tool-engine/gateway 启动后 DB 认证失败。
修复 7 个文件中的硬编码 fallback 密码,统一为 cyrene_pass。

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-05-22 21:27:56 +08:00
parent ccd59db5b8
commit 8bbde1c1d7
7 changed files with 12 additions and 12 deletions
@@ -274,7 +274,7 @@ func DBUrlFromEnv() string {
host := getEnv("DB_HOST", "localhost")
port := getEnv("DB_PORT", "5432")
user := getEnv("DB_USER", "cyrene")
pass := getEnv("DB_PASSWORD", "change_me")
pass := getEnv("DB_PASSWORD", "cyrene_pass")
dbname := getEnv("DB_NAME", "cyrene_ai")
sslmode := getEnv("DB_SSLMODE", "disable")