qb
PVE下安装了ubuntu
1panel面板安装的qb
先编辑容器把127.0.0.1 改为:0.0.0.0 保存
这样就可以映射打开了
如果打开显示:Unauthorized
1、执行:
cat > /pve/1panel/apps/qbittorrent/qbittorrent/config/qBittorrent.conf <<'EOF'
[Preferences]
WebUI\Address=*
WebUI\CSRFProtection=false
WebUI\HostHeaderValidation=false
WebUI\ServerDomains=*
EOF2、继续执行 重建容器:
cd /pve/1panel/apps/qbittorrent/qbittorrent
docker compose down
docker compose up -d3、面板进入容器编辑 把127.0.0改为0.0.0.0
就可以正常了
1panel 挂载了硬盘,路径是:/yesok,如何让qBittorrent下载到该硬盘
编辑:
nano /pve/1panel/apps/qbittorrent/qbittorrent/docker-compose.yml找到 volumes:
现在大概是:
volumes:
- /pve/1panel/apps/qbittorrent/qbittorrent/config:/config
- /pve/1panel/apps/qbittorrent/qbittorrent/data:/downloads改成👇(关键)
volumes:
- /pve/1panel/apps/qbittorrent/qbittorrent/config:/config
- /yesok:/downloads2️⃣ 重建容器
cd /pve/1panel/apps/qbittorrent/qbittorrent
docker compose down
docker compose up -d
````
权限:chown -R 1000:1000 /yesok
chmod -R 775 /yesok
去 qB 后台把下载目录改成
电影:
/downloads/电影