发布应用 悟空IM / 唐僧叨叨
Signed-off-by: Meng Sen <qyg2297248353@gmail.com>
This commit is contained in:
parent
1b55183940
commit
28378ce2b4
|
|
@ -0,0 +1,250 @@
|
|||
additionalProperties:
|
||||
formFields:
|
||||
- child:
|
||||
default: ""
|
||||
envKey: PANEL_DB_HOST
|
||||
required: true
|
||||
type: service
|
||||
default: mysql
|
||||
edit: true
|
||||
envKey: PANEL_DB_TYPE
|
||||
labelZh: MySQL 服务 (前置检查)
|
||||
labelEn: Database Service (Pre-check)
|
||||
required: true
|
||||
type: apps
|
||||
values:
|
||||
- label: MySQL
|
||||
value: mysql
|
||||
- label: MariaDB
|
||||
value: mariadb
|
||||
- label: Percona
|
||||
value: percona
|
||||
- child:
|
||||
default: ""
|
||||
envKey: PANEL_REDIS_SERVICE
|
||||
required: true
|
||||
type: service
|
||||
default: redis
|
||||
envKey: PANEL_REDIS_TYPE
|
||||
labelZh: Redis 服务 (前置检查)
|
||||
labelEn: Redis Service (Pre-check)
|
||||
required: true
|
||||
type: apps
|
||||
values:
|
||||
- label: Redis
|
||||
value: redis
|
||||
- default: "/home/tangsengdaodao"
|
||||
edit: true
|
||||
envKey: TANGSENGDAODAO_ROOT_PATH
|
||||
labelZh: 数据持久化路径
|
||||
labelEn: Data persistence path
|
||||
required: true
|
||||
type: text
|
||||
- default: 5100
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_WK_TCP
|
||||
labelZh: TCP 通讯端口
|
||||
labelEn: TCP communication port
|
||||
required: true
|
||||
type: number
|
||||
- default: 5200
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_WK_WS
|
||||
labelZh: WebSocket 通讯端口
|
||||
labelEn: WebSocket communication port
|
||||
required: true
|
||||
type: number
|
||||
- default: 5300
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_WK_WEB_SERVER
|
||||
labelZh: 悟空IM 后台监控端口
|
||||
labelEn: WuKongIM background monitoring port
|
||||
required: true
|
||||
type: number
|
||||
- default: 8090
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_TS_APP_HTTP
|
||||
labelZh: 唐僧叨叨 API 端口
|
||||
labelEn: TangSengDaoDao API port
|
||||
required: true
|
||||
type: number
|
||||
- default: 80
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_TS_APP_WEB
|
||||
labelZh: 唐僧叨叨 WEB端口
|
||||
labelEn: TangSengDaoDao WEB port
|
||||
required: true
|
||||
type: number
|
||||
- default: 80
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelZh: 唐僧叨叨 后台管理端口
|
||||
labelEn: TangSengDaoDao Management background port
|
||||
required: true
|
||||
type: number
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: WK_EXTERNAL_IP
|
||||
labelEn: External IP
|
||||
labelZh: 外部访问IP
|
||||
required: true
|
||||
type: text
|
||||
- default: "admin"
|
||||
edit: true
|
||||
envKey: TS_ADMIN
|
||||
labelZh: 超级管理员 账户
|
||||
labelEn: Super administrator account
|
||||
required: true
|
||||
type: text
|
||||
- default: "tsdd@123456"
|
||||
edit: true
|
||||
envKey: TS_ADMINPWD
|
||||
labelZh: 超级管理员 密码
|
||||
labelEn: Super administrator password
|
||||
required: true
|
||||
type: text
|
||||
- default: "123456"
|
||||
edit: true
|
||||
envKey: TS_SMSCODE
|
||||
labelZh: 默认注册验证码
|
||||
labelEn: Default registration verification code
|
||||
required: true
|
||||
type: number
|
||||
- default: "127.0.0.1"
|
||||
edit: true
|
||||
envKey: DB_HOST
|
||||
labelZh: 数据库 主机
|
||||
labelEn: Database Host
|
||||
required: true
|
||||
type: text
|
||||
- default: "3306"
|
||||
edit: true
|
||||
envKey: DB_PORT
|
||||
labelZh: 数据库 端口
|
||||
labelEn: Database Port
|
||||
required: true
|
||||
type: number
|
||||
- default: "tsdd"
|
||||
edit: true
|
||||
envKey: DB_USERNAME
|
||||
labelZh: 数据库 用户名
|
||||
labelEn: Database Username
|
||||
required: true
|
||||
type: text
|
||||
- default: "tsdd"
|
||||
edit: true
|
||||
envKey: DB_PASSWORD
|
||||
labelEn: Password
|
||||
labelZh: 数据库 密码
|
||||
random: true
|
||||
required: true
|
||||
rule: paramComplexity
|
||||
type: password
|
||||
- default: "tsdd"
|
||||
edit: true
|
||||
envKey: DB_NAME
|
||||
labelZh: 数据库 名称
|
||||
labelEn: Database Name
|
||||
required: true
|
||||
type: text
|
||||
- default: "127.0.0.1"
|
||||
edit: true
|
||||
envKey: REDIS_HOST
|
||||
labelZh: Redis 主机
|
||||
labelEn: Redis Host
|
||||
required: true
|
||||
type: text
|
||||
- default: 6379
|
||||
edit: true
|
||||
envKey: REDIS_PORT
|
||||
labelZh: Redis 端口
|
||||
labelEn: Redis Port
|
||||
required: true
|
||||
type: number
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: REDIS_PASSWORD
|
||||
labelZh: Redis 连接密码
|
||||
labelEn: Redis Connection Password
|
||||
required: false
|
||||
type: password
|
||||
- default: "127.0.0.1"
|
||||
edit: true
|
||||
envKey: MINIO_HOST
|
||||
labelZh: Minio 主机
|
||||
labelEn: Minio Host
|
||||
required: true
|
||||
type: text
|
||||
- default: 9000
|
||||
edit: true
|
||||
envKey: MINIO_PORT
|
||||
labelZh: Minio 端口
|
||||
labelEn: Minio Port
|
||||
required: true
|
||||
type: number
|
||||
- default: "tsdd"
|
||||
edit: true
|
||||
envKey: MINIO_USERNAME
|
||||
labelZh: minio 用户名
|
||||
labelEn: Minio Username
|
||||
required: true
|
||||
type: text
|
||||
- default: "tsdd"
|
||||
edit: true
|
||||
envKey: MINIO_PASSWORD
|
||||
labelZh: Minio 密码
|
||||
labelEn: Minio Password
|
||||
required: true
|
||||
type: password
|
||||
- default: "https://api.multiavatar.com/{avatar}.png"
|
||||
edit: true
|
||||
envKey: TS_AVATAR_DEFAULTBASEURL
|
||||
labelZh: 默认头像提供地址
|
||||
labelEn: Default avatar provider address
|
||||
required: true
|
||||
type: text
|
||||
- default: "唐僧叨叨"
|
||||
edit: true
|
||||
envKey: TS_APPNAME
|
||||
labelZh: 应用名称
|
||||
labelEn: Application Name
|
||||
required: true
|
||||
type: text
|
||||
- default: "欢迎使用{{appName}}"
|
||||
edit: true
|
||||
envKey: TS_WELCOMEMESSAGE
|
||||
labelZh: 欢迎消息
|
||||
labelEn: Welcome message
|
||||
required: true
|
||||
type: text
|
||||
- default: "true"
|
||||
edit: true
|
||||
envKey: TS_PHONESEARCHOFF
|
||||
labelZh: 手机号搜索功能
|
||||
labelEn: Phone number search function
|
||||
required: true
|
||||
type: select
|
||||
values:
|
||||
- label: 开启
|
||||
value: "false"
|
||||
- label: 关闭
|
||||
value: "true"
|
||||
- default: "true"
|
||||
edit: true
|
||||
envKey: TS_ONLINESTATUSON
|
||||
labelZh: 在线状态功能
|
||||
labelEn: Online status function
|
||||
required: true
|
||||
type: select
|
||||
values:
|
||||
- label: 开启
|
||||
value: "true"
|
||||
- label: 关闭
|
||||
value: "false"
|
||||
- default: 1000
|
||||
edit: true
|
||||
envKey: TS_GROUPUPGRADEWHENMEMBERCOUNT
|
||||
labelZh: 自动升级超级群组临界值
|
||||
labelEn: Automatic upgrade super group critical value
|
||||
required: true
|
||||
type: number
|
||||
|
|
@ -0,0 +1,93 @@
|
|||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
services:
|
||||
tsdd-wukongim:
|
||||
image: registry.cn-shanghai.aliyuncs.com/wukongim/wukongim:v1.2
|
||||
container_name: ${CONTAINER_NAME}
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_WK_TCP}:5100
|
||||
- ${PANEL_APP_PORT_WK_WS}:5200
|
||||
- ${PANEL_APP_PORT_WK_WEB_SERVER}:5300
|
||||
env_file:
|
||||
- /etc/1panel/envs/global.env
|
||||
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
||||
volumes:
|
||||
- ${TANGSENGDAODAO_ROOT_PATH}/wukongim:/root/wukongim
|
||||
environment:
|
||||
- WK_MODE=release
|
||||
- WK_CONVERSATION_ON=true
|
||||
- WK_WEBHOOK_GRPCADDR=tsdd-server:6979
|
||||
- WK_DATASOURCE_ADDR=http://tsdd-server:8090/v1/datasource
|
||||
- WK_DATASOURCE_CHANNELINFOON=true
|
||||
- WK_TOKENAUTHON=true
|
||||
tsdd-server:
|
||||
image: registry.cn-shanghai.aliyuncs.com/wukongim/tangsengdaodaoserver:v1.5
|
||||
container_name: ${CONTAINER_NAME}-server
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
depends_on:
|
||||
- tsdd-wukongim
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_TS_APP_HTTP}:8090
|
||||
env_file:
|
||||
- /etc/1panel/envs/global.env
|
||||
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
||||
command: "api"
|
||||
healthcheck:
|
||||
test: "wget -q -Y off -O /dev/null http://localhost:8090/v1/ping > /dev/null 2>&1"
|
||||
interval: 10s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
volumes:
|
||||
- ${TANGSENGDAODAO_ROOT_PATH}/tsdd:/home/tsdddata
|
||||
environment:
|
||||
- TS_MODE=release
|
||||
- TS_WUKONGIM_APIURL=http://tsdd-wukongim:5001
|
||||
- TS_DB_MYSQLADDR=${DB_USERNAME}:${DB_PASSWORD}@tcp(${DB_HOST}:${DB_PORT})/${DB_NAME}?charset=utf8mb4&parseTime=true&loc=Local
|
||||
- TS_DB_REDISADDR=${REDIS_HOST}:${REDIS_PORT}
|
||||
- TS_DB_REDISPASS=${REDIS_PASSWORD}
|
||||
- TS_EXTERNAL_IP=${WK_EXTERNAL_IP}
|
||||
- TS_FILESERVICE=minio
|
||||
- TS_MINIO_URL=http://${MINIO_HOST}:${MINIO_PORT}
|
||||
- TS_MINIO_ACCESSKEYID=${MINIO_USERNAME}
|
||||
- TS_MINIO_SECRETACCESSKEY=${MINIO_PASSWORD}
|
||||
tsdd-web:
|
||||
image: registry.cn-shanghai.aliyuncs.com/wukongim/tangsengdaodaoweb:latest
|
||||
container_name: ${CONTAINER_NAME}-web
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_TS_APP_WEB}:80
|
||||
env_file:
|
||||
- /etc/1panel/envs/global.env
|
||||
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
||||
environment:
|
||||
- API_URL=http://${WK_EXTERNAL_IP}:${PANEL_APP_PORT_TS_APP_HTTP}/
|
||||
tsdd-manager:
|
||||
image: registry.cn-shanghai.aliyuncs.com/wukongim/tangsengdaodaomanager:latest
|
||||
container_name: ${CONTAINER_NAME}-manager
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:80
|
||||
env_file:
|
||||
- /etc/1panel/envs/global.env
|
||||
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
||||
environment:
|
||||
- API_URL=http://${WK_EXTERNAL_IP}:${PANEL_APP_PORT_TS_APP_HTTP}/
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
# setup-1 add default values
|
||||
CURRENT_DIR=$(pwd)
|
||||
sed -i '/^ENV_FILE=/d' .env
|
||||
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
# setup-1 add default values
|
||||
CURRENT_DIR=$(pwd)
|
||||
sed -i '/^ENV_FILE=/d' .env
|
||||
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
||||
|
|
@ -0,0 +1,48 @@
|
|||
# 唐僧叨叨
|
||||
|
||||
**唐僧叨叨**是一款`轻量级`,`高性能`,`重安全`专注于`私有化部署`的`开源`即时通讯系统。
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
## 特性
|
||||
|
||||
🆓 开源免费:服务端源码,APP源码,Web/PC端源码全部开源,Apache2.0开源协议(可商用),没人能拿捏你
|
||||
|
||||
🔏 私有化部署:所有程序和数据都在自己的服务器上,不用担心数据泄露,不用担心数据被用于其他用途
|
||||
|
||||
🆚 消息必达:采用 tcp + ack机制,保证消息必达,支持离线消息,支持消息漫游。
|
||||
|
||||
🔐 内容安全:消息传输采用私有二进制加密协议、DH+流式加密,防止消息内容泄露
|
||||
|
||||
💽 消息永久存储:消息支持永久存储,得益于WuKongIM的自研消息db,永久存储不影响性能,只浪费点磁盘空间
|
||||
|
||||
📱 多设备消息同步:支持 1 个移动端、多个 Web/PC 端同时在线时,并且支持多端之间的消息实时同步。
|
||||
|
||||
📟 全平台支持:iOS,Android,Windows,MAC,Ubuntu,Web
|
||||
|
||||
## 唐僧叨叨 客户端
|
||||
|
||||
主要是用户端使用 包括:
|
||||
|
||||
+ [iOS](https://github.com/TangSengDaoDao/TangSengDaoDaoiOS)
|
||||
+ [Android](https://github.com/TangSengDaoDao/TangSengDaoDaoAndroid)
|
||||
+ [Web](https://github.com/TangSengDaoDao/TangSengDaoDaoWeb)
|
||||
+ [PC](https://github.com/TangSengDaoDao/TangSengDaoDaoWeb)
|
||||
|
||||
## 唐僧叨叨 服务端
|
||||
|
||||
给客户端调用的后端系统 包括:
|
||||
|
||||
+ 通讯端([WuKongIM](https://github.com/WuKongIM/WuKongIM))
|
||||
+ 业务端([TangSengDaoDaoServer](https://github.com/TangSengDaoDao/TangSengDaoDaoServer))
|
||||
+ 管理端([TangSengDaoDaoManager](https://github.com/TangSengDaoDao/TangSengDaoDaoManager))
|
||||
|
||||
## 安装说明
|
||||
|
||||
安装服务前,需要准备:`MySQL` `Redis` `Minio` 三大基础服务
|
||||
|
||||
---
|
||||
|
||||

|
||||
|
|
@ -0,0 +1,15 @@
|
|||
additionalProperties:
|
||||
key: tangsengdaodao
|
||||
name: 唐僧叨叨
|
||||
tags:
|
||||
- WebSite
|
||||
- Tool
|
||||
- Local
|
||||
shortDescZh: 让企业轻松拥有自己的即时通讯
|
||||
shortDescEn: Make it easy for businesses to have their own instant messaging
|
||||
type: website
|
||||
crossVersionUpdate: true
|
||||
recommend: 0
|
||||
website: https://tsdaodao.com/
|
||||
github: https://github.com/TangSengDaoDao/TangSengDaoDaoServer/
|
||||
document: https://tsdaodao.com/
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 242 KiB |
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
高性能通用分布式通讯服务,支持聊天应用,消息推送,物联网通讯,音视频信令,直播弹幕,客服系统,AI 通讯,即时社区等场景。
|
||||
|
||||

|
||||

|
||||
|
||||

|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue