Synced apps from source repository via GitHub Actions

This commit is contained in:
QYG2297248353
2024-12-04 03:08:24 +00:00
parent c472f6b912
commit e8d6cc738d
1394 changed files with 42558 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
# 数据持久化路径 [必填]
WUKONGIM_ROOT_PATH=/home/wukongim
# WebUI 端口 [必填]
PANEL_APP_PORT_HTTP=5300
# API 端口 [必填]
PANEL_APP_PORT_WK_API=5001
# TCP端口 [必填]
PANEL_APP_PORT_WK_TCP=5100
# WebSocket 端口 [必填]
PANEL_APP_PORT_WK_WS=5200
# 悟空IM演示端口 [必填]
PANEL_APP_PORT_WK_DEMO_SERVER=5172
# 服务器IP [必填]
WK_EXTERNAL_IP=127.0.0.1
+47
View File
@@ -0,0 +1,47 @@
additionalProperties:
formFields:
- default: "/home/wukongim"
edit: true
envKey: WUKONGIM_ROOT_PATH
labelZh: 数据持久化路径
labelEn: Data persistence path
required: true
type: text
- default: 5300
edit: true
envKey: PANEL_APP_PORT_HTTP
labelZh: WebUI 端口
labelEn: WebUI port
required: true
rule: paramPort
type: number
- default: 5001
envKey: PANEL_APP_PORT_WK_API
labelZh: API 端口
labelEn: API port
required: true
type: number
- default: 5100
envKey: PANEL_APP_PORT_WK_TCP
labelZh: TCP端口
labelEn: Tcp port
required: true
type: number
- default: 5200
envKey: PANEL_APP_PORT_WK_WS
labelZh: WebSocket 端口
labelEn: WebSocket port
required: true
type: number
- default: 5172
envKey: PANEL_APP_PORT_WK_DEMO_SERVER
labelZh: 悟空IM演示端口
labelEn: WuKongIM demo port
required: true
type: number
- default: "127.0.0.1"
envKey: WK_EXTERNAL_IP
labelZh: 服务器IP
labelEn: Server IP
required: true
type: text
+25
View File
@@ -0,0 +1,25 @@
networks:
1panel-network:
external: true
services:
wukongim:
container_name: wukongim
env_file:
- ./envs/global.env
- .env
environment:
- WK_MODE=release
image: wukongim/wukongim:v1.2.6
labels:
createdBy: Apps
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:5300
- ${PANEL_APP_PORT_WK_API}:5001
- ${PANEL_APP_PORT_WK_TCP}:5100
- ${PANEL_APP_PORT_WK_WS}:5200
- ${PANEL_APP_PORT_WK_DEMO_SERVER}:5172
restart: always
volumes:
- ${WUKONGIM_ROOT_PATH}/wukongim:/root/wukongim
+2
View File
@@ -0,0 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
ENV_FILE=.env
+2
View File
@@ -0,0 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
TZ=Asia/Shanghai
+17
View File
@@ -0,0 +1,17 @@
#!/bin/bash
if [ -f .env ]; then
source .env
# setup-1 add default values
CURRENT_DIR=$(pwd)
sed -i '/^ENV_FILE=/d' .env
sed -i '/^GLOBAL_ENV_FILE=/d' .env
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi
+10
View File
@@ -0,0 +1,10 @@
#!/bin/bash
if [ -f .env ]; then
source .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi
+17
View File
@@ -0,0 +1,17 @@
#!/bin/bash
if [ -f .env ]; then
source .env
# setup-1 add default values
CURRENT_DIR=$(pwd)
sed -i '/^ENV_FILE=/d' .env
sed -i '/^GLOBAL_ENV_FILE=/d' .env
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi