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:
@@ -103,7 +103,7 @@ func Load() *Config {
|
||||
PostgresHost: getEnv("POSTGRES_HOST", "localhost"),
|
||||
PostgresPort: getEnv("POSTGRES_PORT", "5432"),
|
||||
PostgresUser: getEnv("POSTGRES_USER", "cyrene"),
|
||||
PostgresPass: getEnv("POSTGRES_PASSWORD", "change_me"),
|
||||
PostgresPass: getEnv("POSTGRES_PASSWORD", "cyrene_pass"),
|
||||
PostgresDB: getEnv("POSTGRES_DB", "cyrene_ai"),
|
||||
|
||||
RedisHost: getEnv("REDIS_HOST", "localhost"),
|
||||
|
||||
Reference in New Issue
Block a user