修复:为 user-svc 添加健康检查和启动顺序控制
This commit is contained in:
@@ -30,7 +30,7 @@ func Load() (*Config, error) {
|
||||
viper.AddConfigPath("../../config")
|
||||
|
||||
viper.SetDefault("server.port", 9000)
|
||||
viper.SetDefault("database.host", "postgres")
|
||||
viper.SetDefault("database.host", "backend-postgres")
|
||||
viper.SetDefault("database.port", 5432)
|
||||
viper.SetDefault("database.user", "admin")
|
||||
viper.SetDefault("database.password", "password")
|
||||
|
||||
Reference in New Issue
Block a user