mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-16 19:19:23 +08:00
docker_script
Signed-off-by: hanzhixiao <709674996@qq.com>
This commit is contained in:
parent
057a8bd5bb
commit
8e2ad0aadd
@ -29,7 +29,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
cfgPath = "../../../../../config/config.yaml"
|
cfgPath = "../../config/config.yaml"
|
||||||
minioHealthCheckDuration = 1
|
minioHealthCheckDuration = 1
|
||||||
maxRetry = 100
|
maxRetry = 100
|
||||||
componentStartErrCode = 6000
|
componentStartErrCode = 6000
|
||||||
@ -49,6 +49,7 @@ func initCfg() error {
|
|||||||
if err = yaml.Unmarshal(data, &config.Config); err != nil {
|
if err = yaml.Unmarshal(data, &config.Config); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
fmt.Println(config.Config.Mysql.Address)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user