mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-13 09:26:57 +08:00
发布 QB 5.0 不建议 PT用户升级
Signed-off-by: Meng Sen <qyg2297248353@gmail.com>
This commit is contained in:
parent
de41133c5d
commit
cd65e7d70f
18
.github/renovate.json
vendored
18
.github/renovate.json
vendored
@ -93,24 +93,6 @@
|
||||
"photoprism/photoprism"
|
||||
],
|
||||
"versioning": "regex:^(?<major>\\d{2})(?<minor>\\d{2})(?<patch>\\d{2})$"
|
||||
},
|
||||
{
|
||||
"matchDatasources": [
|
||||
"docker"
|
||||
],
|
||||
"matchPackageNames": [
|
||||
"ghcr.io/umami-software/umami"
|
||||
],
|
||||
"versioning": "docker"
|
||||
},
|
||||
{
|
||||
"matchDatasources": [
|
||||
"docker"
|
||||
],
|
||||
"matchPackageNames": [
|
||||
"ghcr.io/umami-software/*"
|
||||
],
|
||||
"versioning": "docker"
|
||||
}
|
||||
],
|
||||
"regexManagers": [
|
||||
|
62
apps/qbittorrent/5.0.0/data.yml
Normal file
62
apps/qbittorrent/5.0.0/data.yml
Normal file
@ -0,0 +1,62 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: "host"
|
||||
edit: true
|
||||
envKey: NETWORK_MODE
|
||||
labelZh: 网络模式
|
||||
labelEn: Network Mode
|
||||
required: true
|
||||
type: select
|
||||
values:
|
||||
- label: 主机网络模式
|
||||
value: "host"
|
||||
- label: 桥接网络模式
|
||||
value: "bridge"
|
||||
- label: 无网络模式
|
||||
value: "none"
|
||||
- label: 1panel-network
|
||||
value: "1panel-network"
|
||||
- default: 8080
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelZh: WebUI 端口
|
||||
labelEn: WebUI Port
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: 6881
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_TORRENTING
|
||||
labelZh: Torrenting 端口
|
||||
labelEn: Torrenting Port
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: "/home/qBittorrent"
|
||||
edit: true
|
||||
envKey: QBITTORRENT_ROOT_PATH
|
||||
labelZh: 数据持久化路径
|
||||
labelEn: Data persistence path
|
||||
required: true
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: CUSTOM_MOUNT_DIRECTORY_1
|
||||
labelEn: Custom mount directory 1
|
||||
labelZh: 自定义挂载目录 1
|
||||
required: false
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: CUSTOM_MOUNT_DIRECTORY_2
|
||||
labelEn: Custom mount directory 2
|
||||
labelZh: 自定义挂载目录 2
|
||||
required: false
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: CUSTOM_MOUNT_DIRECTORY_3
|
||||
labelEn: Custom mount directory 3
|
||||
labelZh: 自定义挂载目录 3
|
||||
required: false
|
||||
type: text
|
30
apps/qbittorrent/5.0.0/docker-compose.yml
Normal file
30
apps/qbittorrent/5.0.0/docker-compose.yml
Normal file
@ -0,0 +1,30 @@
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
services:
|
||||
qbittorrent:
|
||||
image: linuxserver/qbittorrent:5.0.0
|
||||
container_name: ${CONTAINER_NAME}
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
restart: always
|
||||
network_mode: ${NETWORK_MODE}
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}
|
||||
- ${PANEL_APP_PORT_TORRENTING}
|
||||
- ${PANEL_APP_PORT_TORRENTING}/udp
|
||||
env_file:
|
||||
- /etc/1panel/envs/global.env
|
||||
volumes:
|
||||
- ${QBITTORRENT_ROOT_PATH}/config:/config
|
||||
- ${QBITTORRENT_ROOT_PATH}/downloads:/downloads
|
||||
- ${CUSTOM_MOUNT_DIRECTORY_1:-./default_mount_1}:${CUSTOM_MOUNT_DIRECTORY_1:-/default_mount_1}
|
||||
- ${CUSTOM_MOUNT_DIRECTORY_2:-./default_mount_2}:${CUSTOM_MOUNT_DIRECTORY_2:-/default_mount_2}
|
||||
- ${CUSTOM_MOUNT_DIRECTORY_3:-./default_mount_3}:${CUSTOM_MOUNT_DIRECTORY_3:-/default_mount_3}
|
||||
environment:
|
||||
- PUID=0
|
||||
- PGID=0
|
||||
- UMASK=022
|
||||
- WEBUI_PORT=${PANEL_APP_PORT_HTTP}
|
||||
- TORRENTING_PORT=${PANEL_APP_PORT_TORRENTING}
|
10
apps/qbittorrent/5.0.0/scripts/init.sh
Normal file
10
apps/qbittorrent/5.0.0/scripts/init.sh
Normal file
@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
10
apps/qbittorrent/5.0.0/scripts/uninstall.sh
Normal file
10
apps/qbittorrent/5.0.0/scripts/uninstall.sh
Normal file
@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
10
apps/qbittorrent/5.0.0/scripts/upgrade.sh
Normal file
10
apps/qbittorrent/5.0.0/scripts/upgrade.sh
Normal file
@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
Loading…
Reference in New Issue
Block a user