1
0

feat:调整wukongim&tangsengdaodao

This commit is contained in:
okxlin
2024-10-20 04:06:53 +08:00
parent a2d41c6aa9
commit 6077beaa68
13 changed files with 174 additions and 70 deletions

View 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

View File

@@ -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

View File

@@ -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