安装 qBittorrent

1
2
3
4
5
6
7
8
9
10
11
12
13
docker run -d \
--name=qbittorrent \
-e PUID=1000 \
-e PGID=1000 \
-e TZ=Etc/UTC \
-e WEBUI_PORT=8080 \
-p 8080:8080 \
-p 56881:56881 \
-p 56881:56881/udp \
-v /home/debian/data/qbittorrent/appdata/config:/config \
-v /home/debian/data/qbittorrent/downloads:/downloads \
--restart unless-stopped \
lscr.io/linuxserver/qbittorrent:latest

执行 docker logs qbittorrent 查看初始密码。

安装 nas-tools

1
2
3
4
5
6
7
8
9
10
11
12
docker run -d \
--name nas-tools \
--hostname nas-tools \
-p 3000:3000 \
-v /home/debian/data/nastools/config:/config \
-v /home/debian/data/nastools/appdata:/nastools \
--restart unless-stopped \
-e PUID=0 \
-e PGID=0 \
-e UMASK=000 \
-e NASTOOL_AUTO_UPDATE=false \
nastools/nas-tools:2.9.1

初始用户密码:admin / password

Caddy 配置

1
2
3
4
5
6
7
https://qb.your-domain {
reverse_proxy localhost:8080
}

https://nas.your-domain {
reverse_proxy localhost:3000
}