Processed apps directory via GitHub Actions

This commit is contained in:
QYG2297248353
2025-12-11 06:37:42 +00:00
parent e99f34de45
commit ad82237655
45 changed files with 615 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
# 数据持久化路径 [必填]
LLONEBOT_ROOT_PATH=/home/llonebot
# WebUI 端口 [必填]
PANEL_APP_PORT_HTTP=3080
# 快速登录QQ号码 [必填]
QUICK_LOGIN_QQ=
# OneBot HTTP 端口 [必填]
PANEL_APP_PORT_ONEBOT_HTTP=3000
# OneBot WebSocket 端口 [必填]
PANEL_APP_PORT_ONEBOT_WS=3001
# Satori 端口 [必填]
PANEL_APP_PORT_SATORI=5600
+48
View File
@@ -0,0 +1,48 @@
additionalProperties:
formFields:
- default: "/home/llonebot"
edit: true
envKey: LLONEBOT_ROOT_PATH
labelZh: 数据持久化路径
labelEn: Data persistence path
required: true
type: text
- default: 3080
edit: true
envKey: PANEL_APP_PORT_HTTP
labelZh: WebUI 端口
labelEn: WebUI port
required: true
rule: paramPort
type: number
- default: ""
edit: true
envKey: QUICK_LOGIN_QQ
labelZh: 快速登录QQ号码
labelEn: Quick login QQ number
required: true
type: text
- default: 3000
edit: true
envKey: PANEL_APP_PORT_ONEBOT_HTTP
labelZh: OneBot HTTP 端口
labelEn: OneBot HTTP port
required: true
rule: paramPort
type: number
- default: 3001
edit: true
envKey: PANEL_APP_PORT_ONEBOT_WS
labelZh: OneBot WebSocket 端口
labelEn: OneBot WebSocket port
required: true
rule: paramPort
type: number
- default: 5600
edit: true
envKey: PANEL_APP_PORT_SATORI
labelZh: Satori 端口
labelEn: Satori port
required: true
rule: paramPort
type: number
@@ -0,0 +1,25 @@
networks:
1panel-network:
external: true
services:
llonebot:
container_name: llonebot
env_file:
- ./envs/global.env
- .env
environment:
- TZ=Asia/Shanghai
image: initialencounter/llonebot:latest
labels:
createdBy: Apps
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:3080
- ${PANEL_APP_PORT_ONEBOT_HTTP}:3000
- ${PANEL_APP_PORT_ONEBOT_WS}:3001
- ${PANEL_APP_PORT_SATORI}:5600
restart: always
volumes:
- ${LLONEBOT_ROOT_PATH}/data:/root/.config/QQ
- ${LLONEBOT_ROOT_PATH}/llonebot:/root/llonebot
@@ -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
@@ -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,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