mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2026-06-16 01:02:14 +08:00
@@ -115,6 +115,12 @@
|
|||||||
],
|
],
|
||||||
"allowedVersions": "/^4.*.*/"
|
"allowedVersions": "/^4.*.*/"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"matchFileNames": [
|
||||||
|
"apps/baota/9.*/*.yml"
|
||||||
|
],
|
||||||
|
"allowedVersions": "/^9.*/"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"matchFileNames": [
|
"matchFileNames": [
|
||||||
"apps/emby/4.8.*/*.yml"
|
"apps/emby/4.8.*/*.yml"
|
||||||
|
|||||||
@@ -1,12 +1,5 @@
|
|||||||
additionalProperties:
|
additionalProperties:
|
||||||
formFields:
|
formFields:
|
||||||
- default: "/home/baota"
|
|
||||||
edit: true
|
|
||||||
envKey: BAOTA_ROOT_PATH
|
|
||||||
labelZh: 数据持久化路径
|
|
||||||
labelEn: Data persistence path
|
|
||||||
required: true
|
|
||||||
type: text
|
|
||||||
- default: "host"
|
- default: "host"
|
||||||
edit: true
|
edit: true
|
||||||
envKey: NETWORK_MODE
|
envKey: NETWORK_MODE
|
||||||
@@ -23,6 +16,13 @@ additionalProperties:
|
|||||||
value: "none"
|
value: "none"
|
||||||
- label: 1panel-network
|
- label: 1panel-network
|
||||||
value: "1panel-network"
|
value: "1panel-network"
|
||||||
|
- default: "/home/baota"
|
||||||
|
edit: true
|
||||||
|
envKey: BAOTA_ROOT_PATH
|
||||||
|
labelZh: 数据持久化路径
|
||||||
|
labelEn: Data persistence path
|
||||||
|
required: true
|
||||||
|
type: text
|
||||||
- default: 8888
|
- default: 8888
|
||||||
edit: true
|
edit: true
|
||||||
envKey: PANEL_APP_PORT_HTTP
|
envKey: PANEL_APP_PORT_HTTP
|
||||||
@@ -31,51 +31,3 @@ additionalProperties:
|
|||||||
required: true
|
required: true
|
||||||
rule: paramPort
|
rule: paramPort
|
||||||
type: number
|
type: number
|
||||||
- default: 80
|
|
||||||
edit: true
|
|
||||||
envKey: PANEL_APP_PORT_WEB_HTTP
|
|
||||||
labelZh: 网站服务 HTTP
|
|
||||||
labelEn: Website service HTTP
|
|
||||||
required: true
|
|
||||||
rule: paramPort
|
|
||||||
type: number
|
|
||||||
- default: 443
|
|
||||||
edit: true
|
|
||||||
envKey: PANEL_APP_PORT_WEB_HTTPS
|
|
||||||
labelZh: 网站服务 HTTPS
|
|
||||||
labelEn: Website service HTTPS
|
|
||||||
required: true
|
|
||||||
rule: paramPort
|
|
||||||
type: number
|
|
||||||
- default: 22
|
|
||||||
edit: true
|
|
||||||
envKey: PANEL_APP_PORT_SSH
|
|
||||||
labelZh: SSH 端口
|
|
||||||
labelEn: SSH port
|
|
||||||
required: true
|
|
||||||
rule: paramPort
|
|
||||||
type: number
|
|
||||||
- default: 21
|
|
||||||
edit: true
|
|
||||||
envKey: PANEL_APP_PORT_FTP
|
|
||||||
labelZh: FTP 端口
|
|
||||||
labelEn: FTP port
|
|
||||||
required: true
|
|
||||||
rule: paramPort
|
|
||||||
type: number
|
|
||||||
- default: 3306
|
|
||||||
edit: true
|
|
||||||
envKey: PANEL_APP_PORT_MYSQL
|
|
||||||
labelZh: MySQL 端口
|
|
||||||
labelEn: MySQL port
|
|
||||||
required: true
|
|
||||||
rule: paramPort
|
|
||||||
type: number
|
|
||||||
- default: 888
|
|
||||||
edit: true
|
|
||||||
envKey: PANEL_APP_PORT_PHPADMIN
|
|
||||||
labelZh: phpMyAdmin 端口
|
|
||||||
labelEn: phpMyAdmin port
|
|
||||||
required: true
|
|
||||||
rule: paramPort
|
|
||||||
type: number
|
|
||||||
|
|||||||
@@ -12,12 +12,13 @@ services:
|
|||||||
network_mode: ${NETWORK_MODE}
|
network_mode: ${NETWORK_MODE}
|
||||||
ports:
|
ports:
|
||||||
- ${PANEL_APP_PORT_HTTP}:8888
|
- ${PANEL_APP_PORT_HTTP}:8888
|
||||||
- ${PANEL_APP_PORT_WEB_HTTP}:80
|
expose:
|
||||||
- ${PANEL_APP_PORT_WEB_HTTPS}:443
|
- 888
|
||||||
- ${PANEL_APP_PORT_FTP}:21
|
- 22
|
||||||
- ${PANEL_APP_PORT_SSH}:22
|
- 21
|
||||||
- ${PANEL_APP_PORT_MYSQL}:3306
|
- 3306
|
||||||
- ${PANEL_APP_PORT_PHPADMIN}:888
|
- 80
|
||||||
|
- 443
|
||||||
env_file:
|
env_file:
|
||||||
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
|
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
|
||||||
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
||||||
|
|||||||
@@ -0,0 +1,33 @@
|
|||||||
|
additionalProperties:
|
||||||
|
formFields:
|
||||||
|
- default: "host"
|
||||||
|
edit: true
|
||||||
|
envKey: NETWORK_MODE
|
||||||
|
labelEn: Drive path
|
||||||
|
labelZh: 网络模式
|
||||||
|
required: true
|
||||||
|
type: select
|
||||||
|
values:
|
||||||
|
- label: 主机网络模式
|
||||||
|
value: "host"
|
||||||
|
- label: 桥接网络模式
|
||||||
|
value: "bridge"
|
||||||
|
- label: 无网络模式
|
||||||
|
value: "none"
|
||||||
|
- label: 1panel-network
|
||||||
|
value: "1panel-network"
|
||||||
|
- default: "/home/baota"
|
||||||
|
edit: true
|
||||||
|
envKey: BAOTA_ROOT_PATH
|
||||||
|
labelZh: 数据持久化路径
|
||||||
|
labelEn: Data persistence path
|
||||||
|
required: true
|
||||||
|
type: text
|
||||||
|
- default: 8888
|
||||||
|
edit: true
|
||||||
|
envKey: PANEL_APP_PORT_HTTP
|
||||||
|
labelZh: WebUI 端口
|
||||||
|
labelEn: WebUI port
|
||||||
|
required: true
|
||||||
|
rule: paramPort
|
||||||
|
type: number
|
||||||
@@ -0,0 +1,28 @@
|
|||||||
|
networks:
|
||||||
|
1panel-network:
|
||||||
|
external: true
|
||||||
|
|
||||||
|
services:
|
||||||
|
baota:
|
||||||
|
image: btpanel/baota:9.0_lts_latest
|
||||||
|
container_name: ${CONTAINER_NAME}
|
||||||
|
labels:
|
||||||
|
createdBy: "Apps"
|
||||||
|
restart: always
|
||||||
|
network_mode: ${NETWORK_MODE}
|
||||||
|
ports:
|
||||||
|
- ${PANEL_APP_PORT_HTTP}:8888
|
||||||
|
expose:
|
||||||
|
- 888
|
||||||
|
- 22
|
||||||
|
- 21
|
||||||
|
- 3306
|
||||||
|
- 80
|
||||||
|
- 443
|
||||||
|
env_file:
|
||||||
|
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
|
||||||
|
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
||||||
|
volumes:
|
||||||
|
- ${BAOTA_ROOT_PATH}/wwwroot:/www/wwwroot
|
||||||
|
- ${BAOTA_ROOT_PATH}/data:/www/server/data
|
||||||
|
- ${BAOTA_ROOT_PATH}/vhost:/www/server/panel/vhost
|
||||||
@@ -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
|
||||||
Reference in New Issue
Block a user