feat: add IM admin management
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,10 @@ 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页面生成路径
|
||||
|
||||
imAdminApi:
|
||||
baseUrl: "http://127.0.0.1:6060"
|
||||
serviceId: "hotgo-admin"
|
||||
serviceSecret: "${IM_ADMIN_API_SECRET}"
|
||||
timeout: "5s"
|
||||
|
||||
@@ -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