安装主体文件
这里是使用compose安装的,这个方便
compose配置文件如下:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
| version: "3" services: qbittorrent: image: linuxserver/qbittorrent:4.6.6 container_name: qbittorrent environment: - PUID=0 - PGID=0 - TZ=Asia/Shanghai - UMASK_SET=022 - WEBUI_PORT=6700 - TORRENTING_PORT=6701 volumes: - /vol1/1000/docker/qbittorrent/config:/config - /vol1/1000/docker/qbittorrent/theme:/theme - /vol1/1000/media/qbittorrent/downloads:/downloads - /vol1/1000/media/qbittorrent/downloads:/watch ports: - 6700:6700 - 6701:6701 - 6701:6701/udp restart: unless-stopped
|
或者使用host模式
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
| version: "3" services: qbittorrent: image: linuxserver/qbittorrent:4.6.6 container_name: qbittorrent environment: - PUID=0 - PGID=0 - TZ=Asia/Shanghai - UMASK_SET=022 - WEBUI_PORT=6700 - TORRENTING_PORT=6701 volumes: - /vol1/1000/docker/qbittorrent/config:/config - /vol1/1000/docker/qbittorrent/theme:/theme - /vol1/1000/media/qbittorrent/downloads:/downloads - /vol1/1000/media/qbittorrent/downloads:/watch restart: unless-stopped network_mode: host
|
然后启动,默认账号为admin,密码需要到运行日志里面找
打开容器,找到运行日志,有类似于下面的则说明创建成功了
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
| ******** Information ********
To control qBittorrent, access the WebUI at: http://localhost:6700
The WebUI administrator username is: admin
The WebUI administrator password was not set. A temporary password is provided for this session: 4X72ucMPJ
You should set your own password in program preferences.
Connection to localhost (::1) 6700 port [tcp/*] succeeded!
[ls.io-init] done.
|
UI 主题
vuetorrent皮肤地址https://github.com/VueTorrent/VueTorrent/releases/tag/v2.14.1
下载到本地,然后传到qbittorrent配置的theme文件夹路径下
在页面配置中选择WEB_UI,然后填写路径/theme/vuetorrent