feat: add tenant-aware IM management console
This commit is contained in:
@@ -237,6 +237,9 @@ database:
|
||||
link: "mysql:hotgo:hg123456.@tcp(127.0.0.1:3306)/hotgo?loc=Local&parseTime=true&charset=utf8mb4"
|
||||
debug: true
|
||||
Prefix: "hg_"
|
||||
imRegistry:
|
||||
link: "mysql:hotgo:hg123456.@tcp(127.0.0.1:3306)/hotgo?loc=Local&parseTime=true&charset=utf8mb4"
|
||||
debug: true
|
||||
|
||||
|
||||
# 链路追踪
|
||||
@@ -300,4 +303,8 @@ hggen:
|
||||
addon:
|
||||
srcPath: "./resource/generate/default/addon" # 生成模板路径
|
||||
webApiPath: "../web/src/api/addons/{$name}" # webApi生成路径
|
||||
webViewsPath: "../web/src/views/addons/{$name}" # web页面生成路径
|
||||
webViewsPath: "../web/src/views/addons/{$name}" # web页面生成路径
|
||||
|
||||
imDirectDb:
|
||||
# Each HotGo writer must use a unique ID which does not overlap an IM node.
|
||||
snowflakeWorkerId: 1023
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
FROM alpine:3.20
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN apk add --no-cache ca-certificates tzdata
|
||||
|
||||
COPY temp/linux_arm64/hotgo /app/hotgo
|
||||
COPY hack /app/hack
|
||||
COPY manifest/config /app/manifest/config
|
||||
COPY resource /app/resource
|
||||
COPY storage /app/storage
|
||||
|
||||
EXPOSE 8000
|
||||
|
||||
CMD ["/app/hotgo"]
|
||||
Reference in New Issue
Block a user