diff --git a/docker-compose.yaml b/docker-compose.yaml index 2ec5faae4..84d478cd7 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -100,6 +100,7 @@ services: openim-server: image: ghcr.io/openimsdk/openim-server:latest +# build: . container_name: openim-server volumes: - ./logs:/openim/openim-server/logs diff --git a/tools/component/main.go b/tools/component/main.go index 2aa0f5b5e..95bc98682 100644 --- a/tools/component/main.go +++ b/tools/component/main.go @@ -182,9 +182,6 @@ func checkMongo() error { func checkMinio() error { if config.Config.Object.Enable == "minio" { - if exactIP(config.Config.Object.ApiURL) == "127.0.0.1" || exactIP(config.Config.Object.Minio.Endpoint) == "127.0.0.1" { - return ErrConfig.Wrap("apiURL or Minio endpoint contain 127.0.0.1.") - } conf := config.Config.Object.Minio u, _ := url.Parse(conf.Endpoint) minioClient, err := minio.New(u.Host, &minio.Options{