Synced apps from source repository via GitHub Actions

This commit is contained in:
QYG2297248353
2025-03-28 03:33:03 +00:00
parent de27c90846
commit 43fa96b226
89 changed files with 12 additions and 12 deletions
+9
View File
@@ -0,0 +1,9 @@
# 数据持久化路径 [必填]
V2RAYA_ROOT_PATH=/home/v2raya
# WebUI 端口 [必填]
PANEL_APP_PORT_HTTP=2017
# 插件监听端口 [必填]
PANEL_APP_PORT_PLUGIN=32346
+25
View File
@@ -0,0 +1,25 @@
additionalProperties:
formFields:
- default: "/home/v2raya"
edit: true
envKey: V2RAYA_ROOT_PATH
labelZh: 数据持久化路径
labelEn: Data persistence path
required: true
type: text
- default: 2017
edit: true
envKey: PANEL_APP_PORT_HTTP
labelZh: WebUI 端口
labelEn: WebUI port
required: true
rule: paramPort
type: number
- default: 32346
edit: true
envKey: PANEL_APP_PORT_PLUGIN
labelZh: 插件监听端口
labelEn: Plugin listening port
required: true
rule: paramPort
type: number
@@ -0,0 +1,28 @@
networks:
1panel-network:
external: true
services:
v2raya:
container_name: v2raya-global
env_file:
- ./envs/global.env
- .env
environment:
- V2RAYA_ADDRESS=0.0.0.0:${PANEL_APP_PORT_HTTP}
- V2RAYA_PLUGINLISTENPORT=${PANEL_APP_PORT_PLUGIN}
- IPTABLES_MODE=legacy
- V2RAYA_NFTABLES_SUPPORT=off
- V2RAYA_V2RAY_BIN=/usr/local/bin/v2ray
image: mzz2017/v2raya:v2.2.6.7
labels:
createdBy: Apps
network_mode: host
ports:
- ${PANEL_APP_PORT_HTTP}:${PANEL_APP_PORT_HTTP}
- 20170-20172:20170-20172
privileged: true
restart: always
volumes:
- ${V2RAYA_ROOT_PATH}/v2raya:/etc/v2raya
- /etc/resolv.conf:/etc/resolv.conf
- /lib/modules:/lib/modules:ro
@@ -0,0 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
ENV_FILE=.env
@@ -0,0 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
TZ=Asia/Shanghai
@@ -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