diff --git a/apps/qbittorrent-vnc/README.md b/apps/qbittorrent-vnc/README.md new file mode 100644 index 00000000..f19e7f10 --- /dev/null +++ b/apps/qbittorrent-vnc/README.md @@ -0,0 +1,94 @@ +# 使用说明 + +- 访问链接协议`https` + +- 默认账户密码 +``` +username: kasm_user +password: password +``` + +- 假如重启出现异常 + +大概率可能是文件夹权限原因,需要将应用数据文件夹`data`赋予用户权限, + +终端运行以下命令,按需修改。 + +``` +chown -R 1000:1000 /opt/1panel/apps/local/qbittorrent-vnc/qbittorrent-vnc/data +``` + +# 原始相关 +*** + +**Kasm Workspaces is a docker container streaming platform for delivering browser-based access to desktops, applications, and web services.** + +## Live Demo + + +**Launch a real-time demo in a new browser window:** [Live Demo](https://app.kasmweb.com/#/cast/5361455650). + +](https://app.kasmweb.com/#/cast/5361455650) + +∗*Note: Demo is limited to 3 minutes and has upload/downloads restricted for security purposes.* + +## Get Started + +Try out our no-cost Community Edition: [Download](https://kasmweb.com/downloads "Download"). + +Our Kasm Workspaces team has open-sourced our library of images ([Info](https://www.kasmweb.com/docs/latest/guide/custom_images.html "Image Info") & [Source Code](https://github.com/kasmtech/workspaces-images "Workspaces Images")). + +The web-native rendering is powered by our open-source project: [KasmVNC](https://github.com/kasmtech/KasmVNC "KasmVNC"). + +## About This Image + +This Image contains a browser-accessible version of [qBittorrent](https://www.qbittorrent.org/). + + + +## Environment Variables + +- `APP_ARGS` \- Additional arguments to pass to the application when launched. + +## Stand-alone Deployment + +This image was designed to run natively within Kasm Workspaces, but it can also be deployed stand-alone and accessed through a web browser. + +``` +sudo docker run --rm -it --shm-size=512m -p 6901:6901 -e VNC_PW=password kasmweb/qbittorrent:1.13.0 +``` + +The container is now accessible via a browser : [https://IP\_OF\_SERVER:6901](https://ip_of_server:6901/) + +- User : kasm_user +- Password: password + +**Please note that some functionality, such as audio, uploads, downloads, and microphone pass-through, is only available when using Kasm Workspaces for orchestration.** + +## Tags + +- 1.13.0 + + - Images are built and tagged with the Kasm Workspaces release version. +- 1.13.0-rolling + + - Rolling tags are images that are updated and built nightly to ensure your images are running the latest version. +- develop + + - The develop tag is for testing and provides no expectation of compatibility. + +## Additional Info + +- Source Code + + - [KasmVNC GitHub](https://github.com/kasmtech/KasmVNC "KasmVNC"): Open-Source VNC server: web-native, secure, high-performance. + - [Images GitHub](https://github.com/kasmtech/workspaces-images "Workspaces Images"): Library of Workspaces Docker images. + - [Core Images GitHub](https://github.com/kasmtech/workspaces-core-images "Core Images"): Library of core OS baselines for custom images. +- Workspaces Documentation + + - [Developer API](https://www.kasmweb.com/docs/latest/developers/developer_api.html "Developer API"): Integrate with your applications and workflows. + - [Workspaces](https://www.kasmweb.com/docs/latest/install.html "Installation"): Instructions for installing and configuring Kasm Workspaces. + - [Custom Images](https://www.kasmweb.com/docs/latest/how_to/building_images.html "Custom Images"): Info on configuring custom images and installing software. +- Reporting Issues + + - [Issue Tracker GitHub](https://github.com/kasmtech/workspaces-issues/issues "GitHub Support"): Community issue reporting. \ No newline at end of file diff --git a/apps/qbittorrent-vnc/data.yml b/apps/qbittorrent-vnc/data.yml new file mode 100644 index 00000000..7858e140 --- /dev/null +++ b/apps/qbittorrent-vnc/data.yml @@ -0,0 +1,20 @@ +name: qBittorrent-VNC +tags: + - 工具 +title: 适用于Kasm Workspaces 的 qBittorrent +type: 工具 +description: 适用于Kasm Workspaces 的 qBittorrent +additionalProperties: + key: qbittorrent-vnc + name: qBittorrent-VNC + tags: + - Tool + shortDescZh: 适用于Kasm Workspaces 的 qBittorrent + shortDescEn: qBittorrent for Kasm Workspaces + type: tool + crossVersionUpdate: true + limit: 0 + recommend: 0 + website: https://www.qbittorrent.org/ + github: https://github.com/qbittorrent/qBittorrent + document: http://wiki.qbittorrent.org/ diff --git a/apps/qbittorrent-vnc/develop/.env.sample b/apps/qbittorrent-vnc/develop/.env.sample new file mode 100644 index 00000000..b5a9c36a --- /dev/null +++ b/apps/qbittorrent-vnc/develop/.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/apps/qbittorrent-vnc/develop/data.yml b/apps/qbittorrent-vnc/develop/data.yml new file mode 100644 index 00000000..b39917f6 --- /dev/null +++ b/apps/qbittorrent-vnc/develop/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/apps/qbittorrent-vnc/develop/docker-compose.yml b/apps/qbittorrent-vnc/develop/docker-compose.yml new file mode 100644 index 00000000..0336c307 --- /dev/null +++ b/apps/qbittorrent-vnc/develop/docker-compose.yml @@ -0,0 +1,25 @@ +version: '3' +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" + environment: + - VNC_PW=${HTTP_PWD} + shm_size: ${MEM_USE} + tty: true + image: kasmweb/qbittorrent:develop + labels: + createdBy: "Apps" + +networks: + 1panel-network: + external: true diff --git a/apps/qbittorrent-vnc/logo.png b/apps/qbittorrent-vnc/logo.png new file mode 100644 index 00000000..bfc6cf24 Binary files /dev/null and b/apps/qbittorrent-vnc/logo.png differ