mirror of
https://github.com/arch3rPro/1Panel-Appstore.git
synced 2026-05-11 12:11:38 +08:00
feat: update Transmission 4.0.6
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
CONTAINER_NAME="transmission"
|
||||
DOWNLOAD_PATH="./data/downloads"
|
||||
PANEL_APP_PORT_HTTP="40154"
|
||||
PEER_PORT_VALUE="40152"
|
||||
WATCH_PATH="./data/watch"
|
||||
WEBUI_USER=""
|
||||
WEBUI_PWD=""
|
||||
|
||||
@@ -1,19 +1,48 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: 9091
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Web UI Port
|
||||
labelZh: Web界面端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
label:
|
||||
en: Web UI Port
|
||||
ja: Web UI ポート
|
||||
ms: Port UI Web
|
||||
pt-br: Porta da interface web
|
||||
ru: Веб-порт интерфейса
|
||||
ko: 웹 UI 포트
|
||||
zh-Hant: Web UI 埠
|
||||
zh: Web界面端口
|
||||
formFields:
|
||||
- default: 40154
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: WebUI Port
|
||||
labelZh: 网页端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: 40152
|
||||
edit: true
|
||||
envKey: PEER_PORT_VALUE
|
||||
labelEn: Peer Port
|
||||
labelZh: BT端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: ./data/watch
|
||||
edit: true
|
||||
envKey: WATCH_PATH
|
||||
labelEn: Watch folder for torrent files
|
||||
labelZh: 监视种子文件的文件夹
|
||||
required: true
|
||||
type: text
|
||||
- default: ./data/downloads
|
||||
edit: true
|
||||
envKey: DOWNLOAD_PATH
|
||||
labelEn: Download folder path
|
||||
labelZh: 下载文件夹路径
|
||||
required: true
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: WEBUI_USER
|
||||
labelEn: Webui user
|
||||
labelZh: 网页用户
|
||||
required: false
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: WEBUI_PWD
|
||||
labelEn: Webui password
|
||||
labelZh: 网页密码
|
||||
random: false
|
||||
required: false
|
||||
rule: paramComplexity
|
||||
type: password
|
||||
|
||||
@@ -1,24 +1,31 @@
|
||||
services:
|
||||
transmission:
|
||||
container_name: ${CONTAINER_NAME}
|
||||
image: lscr.io/linuxserver/transmission:latest
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:9091"
|
||||
- "51413:51413"
|
||||
- "51413:51413/udp"
|
||||
- "${PEER_PORT_VALUE}:${PEER_PORT_VALUE}"
|
||||
- "${PEER_PORT_VALUE}:${PEER_PORT_VALUE}/udp"
|
||||
volumes:
|
||||
- "./data/config:/config"
|
||||
- "${DOWNLOAD_PATH}:/downloads"
|
||||
- "${WATCH_PATH}:/watch"
|
||||
environment:
|
||||
- TZ=Asia/Shanghai
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
volumes:
|
||||
- ./config:/config
|
||||
- ./downloads:/downloads
|
||||
- ./watch:/watch
|
||||
labels:
|
||||
- TZ=Asia/Shanghai
|
||||
- TRANSMISSION_WEB_HOME= #optional
|
||||
- USER=${WEBUI_USER}
|
||||
- PASS=${WEBUI_PWD}
|
||||
- WHITELIST= #optional
|
||||
- PEERPORT=${PEER_PORT_VALUE}
|
||||
- HOST_WHITELIST= #optional
|
||||
image: linuxserver/transmission:latest
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
Reference in New Issue
Block a user