-
-
Notifications
You must be signed in to change notification settings - Fork 46
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
34 lines (34 loc) · 940 Bytes
/
docker-compose.yml
File metadata and controls
34 lines (34 loc) · 940 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
services:
qbittorrent-nox:
# for debugging
#cap_add:
#- SYS_PTRACE
# additional arguments to `qbittorrent-nox`
#command:
#- --help
container_name: qbittorrent-nox
environment:
#- PAGID=10000
#- PGID=1000
#- PUID=1000
- QBT_LEGAL_NOTICE=${QBT_LEGAL_NOTICE}
- QBT_VERSION=${QBT_VERSION}
- QBT_TORRENTING_PORT=${QBT_TORRENTING_PORT}
- QBT_WEBUI_PORT=${QBT_WEBUI_PORT}
#- TZ=UTC
#- UMASK=022
image: qbittorrentofficial/qbittorrent-nox:${QBT_VERSION}
ports:
# for bittorrent traffic
- ${QBT_TORRENTING_PORT}:${QBT_TORRENTING_PORT}/tcp
- ${QBT_TORRENTING_PORT}:${QBT_TORRENTING_PORT}/udp
# for WebUI
- ${QBT_WEBUI_PORT}:${QBT_WEBUI_PORT}/tcp
read_only: true
stop_grace_period: 30m
tmpfs:
- /tmp
tty: true
volumes:
- ${QBT_CONFIG_PATH}:/config
- ${QBT_DOWNLOADS_PATH}:/downloads