AimerNeige revised this gist . Go to revision
1 file changed, 26 insertions
qbittorrent-docker-compose.yml(file created)
@@ -0,0 +1,26 @@ | |||
1 | + | version: '3.9' | |
2 | + | services: | |
3 | + | qbt: | |
4 | + | container_name: qbittorrent-nox-seeding | |
5 | + | image: qbittorrentofficial/qbittorrent-nox | |
6 | + | # restart: "no" | |
7 | + | restart: unless-stopped | |
8 | + | ports: | |
9 | + | # web ui port | |
10 | + | - 28211:28211/tcp | |
11 | + | # for bittorrent traffic | |
12 | + | - 54701:54701/tcp | |
13 | + | - 54701:54701/udp | |
14 | + | environment: | |
15 | + | - TZ=Asia/Shanghai | |
16 | + | - UMASK_SET=022 | |
17 | + | - QBT_EULA=accept | |
18 | + | - QBT_VERSION=latest | |
19 | + | - QBT_WEBUI_PORT=28211 | |
20 | + | tty: true | |
21 | + | stop_grace_period: 30m | |
22 | + | tmpfs: | |
23 | + | - /tmp | |
24 | + | volumes: | |
25 | + | - ./config:/config:rw | |
26 | + | - ./storage:/storage:rw |
Newer
Older