Tuoyun 新增单容器单进程的部署方式 (#103)

* feat 新增deploy:单容器单进程模型部署

* feat 新增openim内部各组件的host名称配置;
fix 独立容器部署镜像文档;

* feat 新增注释说明
This commit is contained in:
itltf512116
2021-12-17 10:49:01 +08:00
committed by GitHub
parent a328080ba4
commit 7a6df3abd3
35 changed files with 1454 additions and 83 deletions
+3 -2
View File
@@ -12,8 +12,9 @@ import (
"Open_IM/pkg/common/log"
"Open_IM/pkg/utils"
"flag"
"github.com/gin-gonic/gin"
"strconv"
"github.com/gin-gonic/gin"
//"syscall"
)
@@ -100,5 +101,5 @@ func main() {
log.NewPrivateLog("api")
ginPort := flag.Int("port", 10000, "get ginServerPort from cmd,default 10000 as port")
flag.Parse()
r.Run(utils.ServerIP + ":" + strconv.Itoa(*ginPort))
r.Run(":" + strconv.Itoa(*ginPort))
}