feat: ✨新增wukongim、tangsengdaodao
This commit is contained in:
39
apps/wukongim/1.2/data.yml
Normal file
39
apps/wukongim/1.2/data.yml
Normal file
@@ -0,0 +1,39 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: ""
|
||||
envKey: EXTERNAL_IP
|
||||
labelEn: ipAddress
|
||||
labelZh: 外部访问IP
|
||||
required: true
|
||||
type: text
|
||||
- default: 5001
|
||||
envKey: PANEL_APP_PORT_WK_API
|
||||
labelEn: WuKongIM api port
|
||||
labelZh: 悟空IM api端口
|
||||
required: true
|
||||
type: number
|
||||
- default: 5100
|
||||
envKey: PANEL_APP_PORT_WK_TCP
|
||||
labelEn: WuKongIM tcp port
|
||||
labelZh: 悟空IM TCP端口
|
||||
required: true
|
||||
type: number
|
||||
- default: 5200
|
||||
envKey: PANEL_APP_PORT_WK_WS
|
||||
labelEn: WuKongIM ws port
|
||||
labelZh: 悟空IM WS端口
|
||||
required: true
|
||||
type: number
|
||||
- default: "5300"
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: WuKongIM web port
|
||||
labelZh: 悟空IM监控端口
|
||||
required: true
|
||||
type: number
|
||||
- default: 5172
|
||||
envKey: PANEL_APP_PORT_WK_DEMO_SERVER
|
||||
labelEn: WuKongIM demo port
|
||||
labelZh: 悟空IM demo端口
|
||||
required: true
|
||||
type: number
|
||||
|
||||
27
apps/wukongim/1.2/docker-compose.yml
Normal file
27
apps/wukongim/1.2/docker-compose.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
version: '1.1.8'
|
||||
services:
|
||||
wukongim:
|
||||
container_name: ${CONTAINER_NAME}
|
||||
image: registry.cn-shanghai.aliyuncs.com/wukongim/wukongim:v1.2
|
||||
restart: always
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_WK_API}:5001"
|
||||
- "${PANEL_APP_PORT_WK_TCP}:5100"
|
||||
- "${PANEL_APP_PORT_WK_WS}:5200"
|
||||
- "${PANEL_APP_PORT_HTTP}:5300"
|
||||
- "${PANEL_APP_PORT_WK_DEMO_SERVER}:5172"
|
||||
volumes:
|
||||
- ./wukongim:/root/wukongim
|
||||
environment:
|
||||
- WK_MODE=release
|
||||
- WK_EXTERNAL_IP=${EXTERNAL_IP}
|
||||
- WK_CONVERSATION_ON=true
|
||||
- WK_WEBHOOK_GRPCADDR=tangsengdaodaoserver:6979
|
||||
- WK_DATASOURCE_ADDR=http://tangsengdaodaoserver:8090/v1/datasource
|
||||
- WK_DATASOURCE_CHANNELINFOON=true
|
||||
- WK_TOKENAUTHON=true
|
||||
networks:
|
||||
- 1panel-network
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
39
apps/wukongim/2.0.5/data.yml
Normal file
39
apps/wukongim/2.0.5/data.yml
Normal file
@@ -0,0 +1,39 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: ""
|
||||
envKey: EXTERNAL_IP
|
||||
labelEn: ipAddress
|
||||
labelZh: 外部访问IP
|
||||
required: true
|
||||
type: text
|
||||
- default: 5001
|
||||
envKey: PANEL_APP_PORT_WK_API
|
||||
labelEn: WuKongIM api port
|
||||
labelZh: 悟空IM api端口
|
||||
required: true
|
||||
type: number
|
||||
- default: 5100
|
||||
envKey: PANEL_APP_PORT_WK_TCP
|
||||
labelEn: WuKongIM tcp port
|
||||
labelZh: 悟空IM TCP端口
|
||||
required: true
|
||||
type: number
|
||||
- default: 5200
|
||||
envKey: PANEL_APP_PORT_WK_WS
|
||||
labelEn: WuKongIM ws port
|
||||
labelZh: 悟空IM WS端口
|
||||
required: true
|
||||
type: number
|
||||
- default: "5300"
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: WuKongIM web port
|
||||
labelZh: 悟空IM监控端口
|
||||
required: true
|
||||
type: number
|
||||
- default: 5172
|
||||
envKey: PANEL_APP_PORT_WK_DEMO_SERVER
|
||||
labelEn: WuKongIM demo port
|
||||
labelZh: 悟空IM demo端口
|
||||
required: true
|
||||
type: number
|
||||
|
||||
40
apps/wukongim/2.0.5/docker-compose.yml
Normal file
40
apps/wukongim/2.0.5/docker-compose.yml
Normal file
@@ -0,0 +1,40 @@
|
||||
version: '3.7'
|
||||
services:
|
||||
wukongim: # WuKongIM服务
|
||||
container_name: ${CONTAINER_NAME}-wukongim
|
||||
image: registry.cn-shanghai.aliyuncs.com/wukongim/wukongim:v2.0.5-20240925
|
||||
environment:
|
||||
- "WK_CLUSTER_NODEID=1001"
|
||||
- "WK_CLUSTER_SERVERADDR=${EXTERNAL_IP}:11110" # 节点内部通信请求地址
|
||||
- "WK_TRACE_PROMETHEUSAPIURL=http://prometheus:9090" # prometheus监控地址
|
||||
- "WK_MODE=release" # release模式
|
||||
- "WK_EXTERNAL_IP=${EXTERNAL_IP}" # 服务器外网ip
|
||||
healthcheck:
|
||||
test: "wget -q -Y off -O /dev/null http://localhost:5001/health > /dev/null 2>&1"
|
||||
interval: 10s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
restart: always
|
||||
volumes:
|
||||
- ./wukongim_data:/root/wukongim # 数据挂载到物理机的目录
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_WK_API}:5001 # http api 端口
|
||||
- ${PANEL_APP_PORT_WK_TCP}:5100 # tcp端口
|
||||
- ${PANEL_APP_PORT_WK_WS}:5200 # websocket端口
|
||||
- ${PANEL_APP_PORT_HTTP}:5300 # 管理端端口
|
||||
- ${PANEL_APP_PORT_WK_DEMO_SERVER}:5172 # demo端口
|
||||
- 11110:11110 # 分布式节点通讯端口
|
||||
networks:
|
||||
- 1panel-network
|
||||
prometheus: # 监控服务
|
||||
container_name: ${CONTAINER_NAME}-prometheus
|
||||
image: registry.cn-shanghai.aliyuncs.com/wukongim/prometheus:v2.53.1
|
||||
volumes:
|
||||
- "./prometheus.yml:/etc/prometheus/prometheus.yml"
|
||||
ports:
|
||||
- "9090:9090"
|
||||
networks:
|
||||
- 1panel-network
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
9
apps/wukongim/2.0.5/prometheus.yml
Normal file
9
apps/wukongim/2.0.5/prometheus.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
global:
|
||||
scrape_interval: 10s
|
||||
evaluation_interval: 10s
|
||||
scrape_configs:
|
||||
- job_name: wukongim1-trace-metrics
|
||||
static_configs:
|
||||
- targets: ['wukongim:5300']
|
||||
labels:
|
||||
id: "1001"
|
||||
18
apps/wukongim/README.md
Normal file
18
apps/wukongim/README.md
Normal file
@@ -0,0 +1,18 @@
|
||||
# 什么是悟空 IM
|
||||
|
||||
高性能通用即时通讯服务,支持聊天应用,消息推送,物联网通讯,音视频信令,直播弹幕,客服系统,AI 通讯,即时社区等场景。
|
||||
|
||||
## 特性
|
||||
|
||||
悟空 IM 具备以下特性:
|
||||
|
||||
- 0⃣️ **零依赖**:没有依赖任何第三方组件,部署简单,一条命令即可启动
|
||||
- 📚 **完全自研**:自研消息数据库,消息分区永久存储,自研二进制协议,支持自定义协议
|
||||
- 🔐 **安全**:消息通道和消息内容全程加密,防中间人攻击和窜改消息内容。
|
||||
- 🚀 **性能强劲**:性能强劲,MAC 笔记本单机测试 16w 多/秒的消息(包含存储)吞吐量,频道支持万人同时订阅。
|
||||
- 🧱 **扩展性强**:采用频道设计理念,目前支持群组频道,点对点频道,后续可以根据自己业务自定义频道可实现机器人频道,客服频道等等。
|
||||
- 🔗 **兼容性强**:同时无差别支持 tcp,websocket。
|
||||
|
||||
## 问题反馈
|
||||
|
||||
如果在使用过程中发现任何问题、或者有改善建议,欢迎在 GitHub Issues 进行反馈:https://github.com/WuKongIM/WuKongIM/issues
|
||||
20
apps/wukongim/data.yml
Normal file
20
apps/wukongim/data.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
name: WuKongIM
|
||||
tags:
|
||||
- IM
|
||||
title: 让信息传递更简单
|
||||
type: 工具
|
||||
description: 让企业轻松拥有自己的即时通讯
|
||||
additionalProperties:
|
||||
key: wukongim
|
||||
name: WuKongIM
|
||||
tags:
|
||||
- Tool
|
||||
shortDescZh: 让信息传递更简单
|
||||
shortDescEn: Make messaging easier
|
||||
type: tool
|
||||
crossVersionUpdate: true
|
||||
limit: 0
|
||||
recommend: 0
|
||||
website: https://githubim.com/
|
||||
github: https://github.com/TangSengDaoDao/TangSengDaoDaoServer
|
||||
document: https://githubim.com/
|
||||
BIN
apps/wukongim/logo.png
Normal file
BIN
apps/wukongim/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 26 KiB |
Reference in New Issue
Block a user