feat:调整wukongim&tangsengdaodao
This commit is contained in:
7
apps/wukongim/1.2/.env.sample
Normal file
7
apps/wukongim/1.2/.env.sample
Normal file
@@ -0,0 +1,7 @@
|
||||
CONTAINER_NAME="wukongim"
|
||||
EXTERNAL_IP="1.2.3.4"
|
||||
PANEL_APP_PORT_HTTP=5300
|
||||
PANEL_APP_PORT_WK_API=5001
|
||||
PANEL_APP_PORT_WK_DEMO_SERVER=5172
|
||||
PANEL_APP_PORT_WK_TCP=5100
|
||||
PANEL_APP_PORT_WK_WS=5200
|
||||
@@ -1,39 +1,50 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: EXTERNAL_IP
|
||||
labelEn: ipAddress
|
||||
labelZh: 外部访问IP
|
||||
labelZh: 外部访问 IP
|
||||
required: true
|
||||
type: text
|
||||
- default: 5001
|
||||
- default: "5001"
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_WK_API
|
||||
labelEn: WuKongIM api port
|
||||
labelZh: 悟空IM api端口
|
||||
labelZh: 悟空 IM api 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: 5100
|
||||
- default: "5100"
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_WK_TCP
|
||||
labelEn: WuKongIM tcp port
|
||||
labelZh: 悟空IM TCP端口
|
||||
labelZh: 悟空 IM TCP 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: 5200
|
||||
- default: "5200"
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_WK_WS
|
||||
labelEn: WuKongIM ws port
|
||||
labelZh: 悟空IM WS端口
|
||||
labelZh: 悟空 IM WS 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: "5300"
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: WuKongIM web port
|
||||
labelZh: 悟空IM监控端口
|
||||
labelZh: 悟空 IM 监控端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: 5172
|
||||
- default: "5172"
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_WK_DEMO_SERVER
|
||||
labelEn: WuKongIM demo port
|
||||
labelZh: 悟空IM demo端口
|
||||
labelZh: 悟空 IM demo 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
version: '1.1.8'
|
||||
services:
|
||||
wukongim:
|
||||
container_name: ${CONTAINER_NAME}
|
||||
image: registry.cn-shanghai.aliyuncs.com/wukongim/wukongim:v1.2
|
||||
image: "registry.cn-shanghai.aliyuncs.com/wukongim/wukongim:v1.2"
|
||||
restart: always
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_WK_API}:5001"
|
||||
@@ -22,6 +21,8 @@ services:
|
||||
- WK_TOKENAUTHON=true
|
||||
networks:
|
||||
- 1panel-network
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
9
apps/wukongim/2.0.5/.env.sample
Normal file
9
apps/wukongim/2.0.5/.env.sample
Normal file
@@ -0,0 +1,9 @@
|
||||
CONTAINER_NAME="wukongim"
|
||||
EXTERNAL_IP="1.2.3.4"
|
||||
PANEL_APP_PORT_COMM=11110
|
||||
PANEL_APP_PORT_HTTP=5300
|
||||
PANEL_APP_PORT_STATS=9090
|
||||
PANEL_APP_PORT_WK_API=5001
|
||||
PANEL_APP_PORT_WK_DEMO_SERVER=5172
|
||||
PANEL_APP_PORT_WK_TCP=5100
|
||||
PANEL_APP_PORT_WK_WS=5200
|
||||
@@ -1,39 +1,65 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: EXTERNAL_IP
|
||||
labelEn: ipAddress
|
||||
labelZh: 外部访问IP
|
||||
labelZh: 外部访问 IP
|
||||
required: true
|
||||
type: text
|
||||
- default: 5001
|
||||
- default: "5001"
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_WK_API
|
||||
labelEn: WuKongIM api port
|
||||
labelZh: 悟空IM api端口
|
||||
labelZh: 悟空 IM api 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: 5100
|
||||
- default: "5100"
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_WK_TCP
|
||||
labelEn: WuKongIM tcp port
|
||||
labelZh: 悟空IM TCP端口
|
||||
labelZh: 悟空 IM TCP 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: 5200
|
||||
- default: "5200"
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_WK_WS
|
||||
labelEn: WuKongIM ws port
|
||||
labelZh: 悟空IM WS端口
|
||||
labelZh: 悟空 IM WS 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: "5300"
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: WuKongIM web port
|
||||
labelZh: 悟空IM监控端口
|
||||
labelZh: 悟空 IM 监控端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: 5172
|
||||
- default: "5172"
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_WK_DEMO_SERVER
|
||||
labelEn: WuKongIM demo port
|
||||
labelZh: 悟空IM demo端口
|
||||
labelZh: 悟空 IM demo 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
|
||||
- default: "11110"
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_COMM
|
||||
labelEn: WuKongIM Node Communication Port
|
||||
labelZh: 悟空 IM 节点通讯端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: "9090"
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_STATS
|
||||
labelEn: Prometheus port
|
||||
labelZh: Prometheus 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
@@ -1,12 +1,11 @@
|
||||
version: '3.7'
|
||||
services:
|
||||
wukongim: # WuKongIM服务
|
||||
container_name: ${CONTAINER_NAME}-wukongim
|
||||
image: registry.cn-shanghai.aliyuncs.com/wukongim/wukongim:v2.0.5-20240925
|
||||
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_CLUSTER_SERVERADDR=${EXTERNAL_IP}:${PANEL_APP_PORT_COMM}" # 节点内部通信请求地址
|
||||
- "WK_TRACE_PROMETHEUSAPIURL=http://wukongim-prometheus:9090" # prometheus监控地址
|
||||
- "WK_MODE=release" # release模式
|
||||
- "WK_EXTERNAL_IP=${EXTERNAL_IP}" # 服务器外网ip
|
||||
healthcheck:
|
||||
@@ -23,18 +22,22 @@ services:
|
||||
- ${PANEL_APP_PORT_WK_WS}:5200 # websocket端口
|
||||
- ${PANEL_APP_PORT_HTTP}:5300 # 管理端端口
|
||||
- ${PANEL_APP_PORT_WK_DEMO_SERVER}:5172 # demo端口
|
||||
- 11110:11110 # 分布式节点通讯端口
|
||||
- ${PANEL_APP_PORT_COMM}:11110 # 分布式节点通讯端口
|
||||
networks:
|
||||
- 1panel-network
|
||||
prometheus: # 监控服务
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
wukongim-prometheus: # 监控服务
|
||||
container_name: ${CONTAINER_NAME}-prometheus
|
||||
image: registry.cn-shanghai.aliyuncs.com/wukongim/prometheus:v2.53.1
|
||||
image: "registry.cn-shanghai.aliyuncs.com/wukongim/prometheus:v2.53.1"
|
||||
volumes:
|
||||
- "./prometheus.yml:/etc/prometheus/prometheus.yml"
|
||||
ports:
|
||||
- "9090:9090"
|
||||
- "${PANEL_APP_PORT_STATS}:9090"
|
||||
networks:
|
||||
- 1panel-network
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
@@ -1,8 +1,7 @@
|
||||
name: WuKongIM
|
||||
tags:
|
||||
- IM
|
||||
- 实用工具
|
||||
title: 让信息传递更简单
|
||||
type: 工具
|
||||
description: 让企业轻松拥有自己的即时通讯
|
||||
additionalProperties:
|
||||
key: wukongim
|
||||
@@ -15,6 +14,6 @@ additionalProperties:
|
||||
crossVersionUpdate: true
|
||||
limit: 0
|
||||
recommend: 0
|
||||
website: https://githubim.com/
|
||||
website: https://githubim.com
|
||||
github: https://github.com/TangSengDaoDao/TangSengDaoDaoServer
|
||||
document: https://githubim.com/
|
||||
document: https://githubim.com
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 6.3 KiB |
Reference in New Issue
Block a user