feat:添加deluge到列表
This commit is contained in:
10
apps/deluge/2.1.1/.env.sample
Normal file
10
apps/deluge/2.1.1/.env.sample
Normal file
@@ -0,0 +1,10 @@
|
||||
CONFIG_PATH="./data/config"
|
||||
CONTAINER_NAME="deluge"
|
||||
DELUGE_LOGLEVEL="error"
|
||||
DELUGE_PEER_PORT=6881
|
||||
DELUGE_PORT_RPC=58846
|
||||
DOWNLOAD_PATH="./data/downloads"
|
||||
PANEL_APP_PORT_HTTP=40321
|
||||
PGID=1000
|
||||
PUID=1000
|
||||
TIME_ZONE="Asia/Shanghai"
|
||||
68
apps/deluge/2.1.1/data.yml
Normal file
68
apps/deluge/2.1.1/data.yml
Normal file
@@ -0,0 +1,68 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: "40321"
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port
|
||||
labelZh: 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: "6881"
|
||||
edit: true
|
||||
envKey: DELUGE_PEER_PORT
|
||||
labelEn: Peer Port
|
||||
labelZh: Peer 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: "58846"
|
||||
edit: true
|
||||
envKey: DELUGE_PORT_RPC
|
||||
labelEn: RPC Port
|
||||
labelZh: RPC 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: "1000"
|
||||
edit: true
|
||||
envKey: PUID
|
||||
labelEn: User ID
|
||||
labelZh: 用户 ID
|
||||
required: true
|
||||
type: number
|
||||
- default: "1000"
|
||||
edit: true
|
||||
envKey: PGID
|
||||
labelEn: Group ID
|
||||
labelZh: 组 ID
|
||||
required: true
|
||||
type: number
|
||||
- default: "Asia/Shanghai"
|
||||
edit: true
|
||||
envKey: TIME_ZONE
|
||||
labelEn: Time Zone
|
||||
labelZh: 时区
|
||||
required: true
|
||||
type: text
|
||||
- default: "error"
|
||||
edit: true
|
||||
envKey: DELUGE_LOGLEVEL
|
||||
labelEn: Deluge Log Level
|
||||
labelZh: Deluge 日志级别
|
||||
required: true
|
||||
type: text
|
||||
- default: "./data/config"
|
||||
edit: true
|
||||
envKey: CONFIG_PATH
|
||||
labelEn: Deluge Config Path
|
||||
labelZh: Deluge 配置路径
|
||||
required: true
|
||||
type: text
|
||||
- default: "./data/downloads"
|
||||
edit: true
|
||||
envKey: DOWNLOAD_PATH
|
||||
labelEn: Downloads Path
|
||||
labelZh: 下载路径
|
||||
required: true
|
||||
type: text
|
||||
26
apps/deluge/2.1.1/docker-compose.yml
Normal file
26
apps/deluge/2.1.1/docker-compose.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
services:
|
||||
deluge:
|
||||
image: "linuxserver/deluge:2.1.1"
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
environment:
|
||||
- PUID=${PUID}
|
||||
- PGID=${PGID}
|
||||
- TZ=${TIME_ZONE}
|
||||
- DELUGE_LOGLEVEL=${DELUGE_LOGLEVEL}
|
||||
volumes:
|
||||
- ${CONFIG_PATH}:/config
|
||||
- ${DOWNLOAD_PATH}:/downloads
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:8112"
|
||||
- "${DELUGE_PEER_PORT}:${DELUGE_PEER_PORT}"
|
||||
- "${DELUGE_PEER_PORT}:${DELUGE_PEER_PORT}/udp"
|
||||
- "${DELUGE_PORT_RPC}:${DELUGE_PORT_RPC}"
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
Reference in New Issue
Block a user