forked from crazy-max/docker-qbittorrent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yml
40 lines (38 loc) · 825 Bytes
/
compose.yml
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
35
36
37
38
39
40
services:
qbittorrent:
image: crazymax/qbittorrent
container_name: qbittorrent
ports:
- target: 6881
published: 6881
protocol: tcp
- target: 6881
published: 6881
protocol: udp
- target: 8080
published: 8080
protocol: tcp
volumes:
- "qbittorrent-data:/data"
- "qbittorrent-logs:/var/log/qbittorrent"
environment:
- "TZ=Europe/Paris"
- "ALT_WEBUI=false"
ulimits:
nproc: 65535
nofile:
soft: 32000
hard: 40000
restart: always
logs:
image: bash
container_name: qbittorrent_logs
command: bash -c 'tail -f /log/*.log'
depends_on:
- qbittorrent
volumes:
- "qbittorrent-logs:/log"
restart: always
volumes:
qbittorrent-data:
qbittorrent-logs: