dever 2 years ago
parent
commit
3341897107
2 changed files with 4 additions and 3 deletions
  1. 1 1
      src/docker/build/pan/qbit/Dockerfile
  2. 3 2
      src/docker/conf/pan.conf

+ 1 - 1
src/docker/build/pan/qbit/Dockerfile

@@ -1,4 +1,4 @@
-FROM qbittorrentofficial/qbittorrent-nox
+FROM padhihomelab/qbittorrent-nox
 #离线下载
 #https://github.com/cnk3x/xunlei
 

+ 3 - 2
src/docker/conf/pan.conf

@@ -37,8 +37,9 @@ environment = XL_DEBUG=1,XL_BA_USER=rabin,XL_BA_PASSWORD=ilyxddfe521
 volumes = /data/pan/xunlei/data:/xunlei/data,/data/pan/xunlei/downloads:/xunlei/downloads
 
 [qbit]
-port = 8000:8080,6881:6881/tcp,6881:6881/udp
-volumes = /data/pan/qbit/down:/downloads
+port = 8000:8080
+environment = DOCKER_UID=`id -u`
+volumes = /data/pan/qbit/down:/torrents
 
 [seafile]
 ;https://cloud.seafile.com/published/seafile-manual-cn/docker/%E7%94%A8Docker%E9%83%A8%E7%BD%B2Seafile.md