diff --git a/qbittorrent-vnc/1.16.0/.env.sample b/qbittorrent-vnc/1.16.0/.env.sample new file mode 100644 index 000000000..b5a9c36ab --- /dev/null +++ b/qbittorrent-vnc/1.16.0/.env.sample @@ -0,0 +1,8 @@ +CONTAINER_NAME="qbittorrent-vnc" +DOWNLOAD_PATH="./data/downloads" +#HTTP_USER="kasm_user" +HTTP_PWD="password" +MEM_USE="512m" +PANEL_APP_PORT_HTTP="40139" +PANEL_APP_PORT_HTTPS="40140" +PANEL_APP_PORT_PEER="40141" diff --git a/qbittorrent-vnc/1.16.0/data.yml b/qbittorrent-vnc/1.16.0/data.yml new file mode 100644 index 000000000..b39917f6c --- /dev/null +++ b/qbittorrent-vnc/1.16.0/data.yml @@ -0,0 +1,56 @@ +additionalProperties: + formFields: + - default: 40139 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: WebUI Port (Manual setup is required) + labelZh: 网页端口 (需要手动设置) + required: true + rule: paramPort + type: number + - default: 40140 + edit: true + envKey: PANEL_APP_PORT_HTTPS + labelEn: Web VNC Port + labelZh: Web VNC 端口 + required: true + rule: paramPort + type: number + - default: 40141 + edit: true + envKey: PANEL_APP_PORT_PEER + labelEn: Peer Port (Manual setup is required) + labelZh: BT端口 (需要手动设置) + required: true + rule: paramPort + type: number + - default: ./data/downloads + edit: true + envKey: DOWNLOAD_PATH + labelEn: Download folder path + labelZh: 下载文件夹路径 + required: true + type: text + - default: kasm_user + disabled: true + envKey: HTTP_USER + labelEn: http auth user + labelZh: HTTP 用户 + required: true + type: text + - default: password + edit: true + envKey: HTTP_PWD + labelEn: Access Password + labelZh: 访问密码 + random: true + required: true + rule: paramComplexity + type: password + - default: "512m" + edit: true + envKey: MEM_USE + labelEn: Shared memory footprint (1gb) + labelZh: 共享内存占用(1gb) + required: true + type: text diff --git a/qbittorrent-vnc/1.16.0/docker-compose.yml b/qbittorrent-vnc/1.16.0/docker-compose.yml new file mode 100644 index 000000000..bfa9e027b --- /dev/null +++ b/qbittorrent-vnc/1.16.0/docker-compose.yml @@ -0,0 +1,28 @@ +services: + qbittorrent-vnc: + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTPS}:6901" + - "${PANEL_APP_PORT_PEER}:${PANEL_APP_PORT_PEER}" + - "${PANEL_APP_PORT_PEER}:${PANEL_APP_PORT_PEER}/udp" + - "${PANEL_APP_PORT_HTTP}:${PANEL_APP_PORT_HTTP}" + volumes: + - "${DOWNLOAD_PATH}:/home/kasm-user/Downloads" + - "qbittorrent-vnc_data:/home/kasm-user" + environment: + - VNC_PW=${HTTP_PWD} + shm_size: ${MEM_USE} + tty: true + image: kasmweb/qbittorrent:1.16.0 + labels: + createdBy: "Apps" + +volumes: + qbittorrent-vnc_data: + +networks: + 1panel-network: + external: true