feat: add tenant-aware IM management console

This commit is contained in:
richjohnrambo
2026-08-19 00:31:09 +08:00
parent 642b7ec5da
commit 89ba6bcff8
126 changed files with 11941 additions and 339 deletions
+8 -1
View File
@@ -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
+15
View File
@@ -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"]