forked from tom472/mediabox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
341 lines (322 loc) · 9.96 KB
/
docker-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
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
##
## -------------------------
## | M E D I A B O X |
## -------------------------
##
## Container based media tools configuration
##
## -- DO NOT EDIT THIS FILE --
##
## Configuration items for this file are taken from the .env file
##
## Have docker-compose.yml and .env in the same directory to launch the stack
version: '2'
######################
# SERVICES TO LAUNCH #
######################
services:
# ----------------------------------------
# COUCHPOTATO
# ----------------------------------------
couchpotato:
image: linuxserver/couchpotato
container_name: couchpotato
restart: unless-stopped
network_mode: "bridge"
ports:
- '${IP_ADDRESS}:5050:5050'
environment:
- PUID=${PUID}
- PGID=${PGID}
volumes:
- './couchpotato:/config'
- './content/completed:/downloads:shared'
- './content/movies:/movies'
- '/etc/localtime:/etc/localtime:ro'
# ----------------------------------------
# DELUGEVPN
# ----------------------------------------
arch-delugevpn:
image: binhex/arch-delugevpn
container_name: delugevpn
restart: unless-stopped
network_mode: "bridge"
ports:
- '${IP_ADDRESS}:8112:8112'
- '${IP_ADDRESS}:8118:8118'
- '${IP_ADDRESS}:58846:58846'
- '${IP_ADDRESS}:58946:58946'
cap_add:
- NET_ADMIN
environment:
- VPN_ENABLED=yes
- VPN_USER=${PIAUNAME}
- VPN_PASS=${PIAPASS}
- VPN_REMOTE=${VPN_REMOTE}
- VPN_PORT=1198
- VPN_PROTOCOL=udp
- VPN_DEVICE_TYPE=tun
- VPN_PROV=pia
- STRONG_CERTS=no
- ENABLE_PRIVOXY=yes
- STRICT_PORT_FORWARD=yes
- LAN_NETWORK=${CIDR_ADDRESS}
- NAME_SERVERS=209.222.18.222,37.235.1.174,8.8.8.8,209.222.18.218,37.235.1.177,8.8.4.4
- DEBUG=false
- PUID=${PUID}
- PGID=${PGID}
volumes:
- './content:/data'
- './delugevpn/config:/config'
- '/etc/localtime:/etc/localtime:ro'
# ----------------------------------------
# DUPLICATI
# ----------------------------------------
duplicati:
image: linuxserver/duplicati
container_name: duplicati
restart: unless-stopped
network_mode: "bridge"
ports:
- '${IP_ADDRESS}:8200:8200'
environment:
- PUID=${PUID}
- PGID=${PGID}
volumes:
- './duplicati:/config'
- './duplicati/backups:/backups'
- '${PWD}:/source'
- '/etc/localtime:/etc/localtime:ro'
# ----------------------------------------
# HTTP
# ----------------------------------------
uhttpd:
image: fnichol/uhttpd
container_name: uhttpd
restart: unless-stopped
network_mode: "bridge"
ports:
- '${IP_ADDRESS}:80:80'
environment:
- PUID=${PUID}
- PGID=${PGID}
volumes:
- './www:/www'
# ----------------------------------------
# JACKETT
# ----------------------------------------
jackett:
image: linuxserver/jackett
container_name: jackett
restart: unless-stopped
network_mode: "bridge"
ports:
- '${IP_ADDRESS}:9117:9117'
environment:
- PUID=${PUID}
- PGID=${PGID}
volumes:
- './jackett:/config'
- './content/completed:/downloads'
- '/etc/localtime:/etc/localtime:ro'
# ----------------------------------------
# MINIO
# ----------------------------------------
minio:
image: minio/minio
container_name: minio
restart: unless-stopped
network_mode: "bridge"
ports:
- '${IP_ADDRESS}:9009:9000'
environment:
- MINIO_ACCESS_KEY=minio
- MINIO_SECRET_KEY=minio123
volumes:
- './minio:/root/.minio'
- '${PWD}:/export'
command: server /export
# ----------------------------------------
# NETDATA
# ----------------------------------------
netdata:
image: titpetric/netdata
container_name: netdata
restart: unless-stopped
network_mode: "bridge"
ports:
- '${IP_ADDRESS}:19999:19999'
cap_add:
- SYS_PTRACE
volumes:
- '/proc:/host/proc:ro'
- '/sys:/host/sys:ro'
- '/var/run/docker.sock:/var/run/docker.sock'
# ----------------------------------------
# NZBGet
# ----------------------------------------
nzbget:
image: linuxserver/nzbget
container_name: nzbget
restart: unless-stopped
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
network_mode: 'bridge'
ports:
- '${IP_ADDRESS}:6789:6789'
volumes:
- './nzbget:/config'
- './content/completed:/downloads'
# ----------------------------------------
# OMBI
# ----------------------------------------
ombi:
image: linuxserver/ombi
container_name: ombi
restart: unless-stopped
network_mode: "bridge"
ports:
- '${IP_ADDRESS}:3579:3579'
environment:
- PUID=${PUID}
- PGID=${PGID}
volumes:
- './ombi:/config'
- '/etc/localtime:/etc/localtime:ro'
# ----------------------------------------
# PLEX
# ----------------------------------------
plex:
container_name: plex
image: plexinc/pms-docker:${PMSTAG}
restart: unless-stopped
network_mode: "host"
ports:
- '${IP_ADDRESS}:32400:32400/tcp'
- '${IP_ADDRESS}:3005:3005/tcp'
- '${IP_ADDRESS}:8324:8324/tcp'
- '${IP_ADDRESS}:32469:32469/tcp'
- '${IP_ADDRESS}:1900:1900/udp'
- '${IP_ADDRESS}:32410:32410/udp'
- '${IP_ADDRESS}:32412:32412/udp'
- '${IP_ADDRESS}:32413:32413/udp'
- '${IP_ADDRESS}:32414:32414/udp'
environment:
- PLEX_CLAIM=${PMSTOKEN}
- ADVERTISE_IP=http://${IP_ADDRESS}:32400/
- ALLOWED_NETWORKS=${CIDR_ADDRESS}
- PLEX_UID=${PUID}
- PLEX_GID=${PGID}
hostname: ${HOSTNAME}
volumes:
- './plex:/config'
- './plex/transcode:/transcode'
- './content/tv:/data/tvshows'
- './content/movies:/data/movies'
- '/etc/localtime:/etc/localtime:ro'
# ----------------------------------------
# PLEXPY
# ----------------------------------------
plexpy:
image: linuxserver/plexpy
container_name: plexpy
restart: unless-stopped
network_mode: "bridge"
ports:
- '${IP_ADDRESS}:8181:8181'
environment:
- PUID=${PUID}
- PGID=${PGID}
volumes:
- './plexpy:/config'
- './plex/Library/Application Support/Plex Media Server/Logs:/logs:ro'
- '/etc/localtime:/etc/localtime:ro'
depends_on:
- plex
# ----------------------------------------
# PORTAINER
# ----------------------------------------
portainer:
image: portainer/portainer:latest
container_name: portainer
restart: unless-stopped
network_mode: "bridge"
ports:
- '${IP_ADDRESS}:9000:9000'
environment:
- PUID=${PUID}
- PGID=${PGID}
volumes:
- './portainer:/data'
- '/var/run/docker.sock:/var/run/docker.sock'
- '/etc/localtime:/etc/localtime:ro'
command: ${PORTAINERSTYLE} -H unix:///var/run/docker.sock
# ----------------------------------------
# RADARR
# ----------------------------------------
radarr:
image: linuxserver/radarr
container_name: radarr
restart: unless-stopped
network_mode: "bridge"
ports:
- '${IP_ADDRESS}:7878:7878'
environment:
- PUID=${PUID}
- PGID=${PGID}
volumes:
- './radarr:/config'
- './content/completed:/downloads'
- './content/movies:/movies'
- '/etc/localtime:/etc/localtime:ro'
# ----------------------------------------
# SICKRAGE
# ----------------------------------------
sickrage:
image: linuxserver/sickrage
container_name: sickrage
restart: unless-stopped
network_mode: "bridge"
ports:
- '${IP_ADDRESS}:8081:8081'
environment:
- PUID=${PUID}
- PGID=${PGID}
volumes:
- './sickrage:/config'
- './content/completed:/downloads'
- './content/tv:/tv'
- '/etc/localtime:/etc/localtime:ro'
# ----------------------------------------
# SONARR
# ----------------------------------------
sonarr:
image: linuxserver/sonarr
container_name: sonarr
restart: unless-stopped
network_mode: "bridge"
ports:
- '${IP_ADDRESS}:8989:8989'
environment:
- PUID=${PUID}
- PGID=${PGID}
volumes:
- './sonarr:/config'
- './content/completed:/downloads'
- './content/tv:/tv'
- '/etc/localtime:/etc/localtime:ro'
# ----------------------------------------
# WATCHTOWER
# ----------------------------------------
watchtower:
image: v2tec/watchtower
container_name: watchtower
restart: unless-stopped
environment:
- TZ=${TZ}
network_mode: "bridge"
volumes:
- '/var/run/docker.sock:/var/run/docker.sock'
command: portainer --schedule @midnight --cleanup