forked from marchah/pi-htpc-download-box
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
183 lines (167 loc) · 5.75 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
version: "3.4"
services:
node_exporter:
container_name: node_exporter
image: quay.io/prometheus/node-exporter:latest
command:
- '--path.rootfs=/host'
network_mode: host
pid: host
restart: unless-stopped
volumes:
- '/:/host:ro,rslave'
prometheus:
container_name: prometheus
image: prom/prometheus:latest
restart: unless-stopped
volumes:
- ${CONFIG}/config/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
ports:
- 9090:9090
grafana:
container_name: grafana
image: grafana/grafana:latest
restart: unless-stopped
ports:
- 3000:3000
openvpn:
container_name: openvpn
image: dperson/openvpn-client:latest
cap_add:
- NET_ADMIN # required to modify network interfaces
restart: unless-stopped
environment:
- VPN_AUTH=${OPENVPN_AUTH}
- DNS=${DNS}
volumes:
- /dev/net:/dev/net:z # tun device
- ${CONFIG}/config/vpn:/vpn # OpenVPN configuration
security_opt:
- label:disable
ports:
- 9091:9091 # Transmission web UI
- 51413:51413 # Transmission bittorrent daemon
- 51413:51413/udp # Transmission bittorrent daemon
- 8112:8112 # port for deluge web UI to be reachable from local network
- 5800:3000 # port for firefox
command: '-f "" -r 192.168.1.0/24' # enable firewall and route local network traffic
firefox:
image: ghcr.io/linuxserver/firefox:latest
container_name: firefox
restart: unless-stopped
network_mode: service:openvpn # run on the vpn network
shm_size: "1gb"
environment:
- PUID=${PUID} # default user id, defined in .env
- PGID=${PGID} # default group id, defined in .env
- TZ=${TZ} # timezone, defined in .env
volumes:
- ${CONFIG}/config/firefox:/config # config files
transmission:
image: linuxserver/transmission:latest
container_name: transmission
restart: unless-stopped
network_mode: service:openvpn # run on the vpn network
environment:
- PUID=${PUID} # default user id, defined in .env
- PGID=${PGID} # default group id, defined in .env
- TZ=${TZ} # timezone, defined in .env
volumes:
- ${ROOT}/downloads:/downloads # downloads folder
- ${CONFIG}/config/transmission:/config # config files
deluge:
container_name: deluge
image: linuxserver/deluge:latest
restart: unless-stopped
network_mode: service:openvpn # run on the vpn network
environment:
- PUID=${PUID} # default user id, defined in .env
- PGID=${PGID} # default group id, defined in .env
- TZ=${TZ} # timezone, defined in .env
volumes:
- ${ROOT}/downloads:/downloads # downloads folder
- ${CONFIG}/config/deluge:/config # config files
jackett:
container_name: jackett
image: linuxserver/jackett:latest
restart: unless-stopped
network_mode: host
environment:
- PUID=${PUID} # default user id, defined in .env
- PGID=${PGID} # default group id, defined in .env
- TZ=${TZ} # timezone, defined in .env
volumes:
- /etc/localtime:/etc/localtime:ro
- ${ROOT}/downloads/torrent-blackhole:/downloads # place where to put .torrent files for manual download
- ${CONFIG}/config/jackett:/config # config files
# nzbget:
# container_name: nzbget
# image: linuxserver/nzbget:latest
# restart: unless-stopped
# network_mode: host
# environment:
# - PUID=${PUID} # default user id, defined in .env
# - PGID=${PGID} # default group id, defined in .env
# - TZ=${TZ} # timezone, defined in .env
# volumes:
# - ${ROOT}/downloads:/downloads # download folder
# - ${CONFIG}/config/nzbget:/config # config files
sonarr:
container_name: sonarr
image: linuxserver/sonarr:latest
restart: unless-stopped
network_mode: host
environment:
- PUID=${PUID} # default user id, defined in .env
- PGID=${PGID} # default group id, defined in .env
- TZ=${TZ} # timezone, defined in .env
volumes:
- /etc/localtime:/etc/localtime:ro
- ${CONFIG}/config/sonarr:/config # config files
- ${ROOT}/tv:/tv # tv shows folder
- ${ROOT}/downloads:/downloads # download folder
radarr:
container_name: radarr
image: linuxserver/radarr:latest
restart: unless-stopped
network_mode: host
environment:
- PUID=${PUID} # default user id, defined in .env
- PGID=${PGID} # default group id, defined in .env
- TZ=${TZ} # timezone, defined in .env
volumes:
- /etc/localtime:/etc/localtime:ro
- ${CONFIG}/config/radarr:/config # config files
- ${ROOT}/movies:/movies # movies folder
- ${ROOT}/downloads:/downloads # download folder
bazarr:
container_name: bazarr
image: linuxserver/bazarr:latest
restart: unless-stopped
environment:
- PUID=${PUID} # default user id, defined in .env
- PGID=${PGID} # default group id, defined in .env
- TZ=${TZ} # timezone, defined in .env
volumes:
- ${CONFIG}/config/bazarr:/config # config files
- ${ROOT}/movies:/movies # movies folder, same as Radarr
- ${ROOT}/tv:/tv # tv shows folder, same as Sonarr
ports:
- 6767:6767
plex-server:
container_name: plex-server
image: linuxserver/plex:latest
restart: unless-stopped
network_mode: host
environment:
- PUID=${PUID} # default user id, defined in .env
- PGID=${PGID} # default group id, defined in .env
- TZ=${TZ} # timezone, defined in .env
- VERSION=docker
volumes:
- ${CONFIG}/config/plex/db:/config # plex database
- ${CONFIG}/config/plex/transcode:/transcode # temp transcoded files
- ${ROOT}/tv:/data/tvshows # tvshows library
- ${ROOT}/movies:/data/movies # tvshows library
volumes:
yacht: