-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
105 lines (104 loc) · 2.7 KB
/
docker-compose.yaml
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
version: '3.7'
services:
# https://github.com/rakshasa/rtorrent
rtorrent:
build:
context: services/rtorrent
args:
GID: $DOCKER_GID
UID: $DOCKER_UID
container_name: rtorrent
image: fleshgrinder/nas-rtorrent:local
network_mode: host
restart: unless-stopped
user: $DOCKER_UID:$DOCKER_GID
volumes:
- type: bind
source: ./services/rtorrent/rtorrent.rc
target: /home/rtorrent/.rtorrent.rc
read_only: true
- type: bind
source: ./services/rtorrent/bin
target: /usr/local/bin
read_only: true
- type: bind
source: ./data/rtorrent/run
target: /home/rtorrent/run
volume:
nocopy: true
- type: bind
source: ./data/rtorrent/session
target: /home/rtorrent/session
volume:
nocopy: true
- type: bind
source: ./music/.unsorted
target: /data/unsorted
volume:
nocopy: true
- type: bind
source: ./data/rtorrent/incoming
target: /data/incoming
volume:
nocopy: true
- type: bind
source: ./downloads
target: /data/completed
volume:
nocopy: true
- type: bind
source: ./video/movies
target: /data/completed/movies
volume:
nocopy: true
- type: bind
source: ./video/series
target: /data/completed/series
volume:
nocopy: true
# https://github.com/Flood-UI/flood
rtorrent-flood:
build: https://github.com/Flood-UI/flood.git
container_name: rtorrent-flood
environment:
- FLOOD_SECRET
image: fleshgrinder/nas-rtorrent-flood:local
network_mode: host
restart: unless-stopped
user: $DOCKER_UID:$DOCKER_GID
volumes:
- type: bind
source: ./services/rtorrent-flood/config.js
target: /usr/src/app/config.js
read_only: true
- type: bind
source: ./data/rtorrent-flood
target: /usr/src/app/config/server
volume:
nocopy: true
- type: bind
source: ./data/rtorrent/run
target: /usr/src/app/config/rtorrent
read_only: true
volume:
nocopy: true
- type: bind
source: ./data/rtorrent/incoming
target: /data/incoming
volume:
nocopy: true
- type: bind
source: ./downloads
target: /data/completed
volume:
nocopy: true
- type: bind
source: ./video/movies
target: /data/completed/movies
volume:
nocopy: true
- type: bind
source: ./video/series
target: /data/completed/series
volume:
nocopy: true