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:
@@ -29,7 +29,7 @@ func buildDatabaseURL() string {
|
||||
host := getEnv("POSTGRES_HOST", "localhost")
|
||||
port := getEnv("POSTGRES_PORT", "5432")
|
||||
user := getEnv("POSTGRES_USER", "cyrene")
|
||||
password := getEnv("POSTGRES_PASSWORD", "change_me")
|
||||
password := getEnv("POSTGRES_PASSWORD", "cyrene_pass")
|
||||
dbname := getEnv("POSTGRES_DB", "cyrene_ai")
|
||||
sslmode := getEnv("POSTGRES_SSLMODE", "disable")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user