-
Notifications
You must be signed in to change notification settings - Fork 23
/
docker-compose.yml
189 lines (177 loc) · 4.81 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
# Mo Dashboard
version: "3.7"
########################### SERVICES
services:
# INFLUXDB - DATABASE FOR SENSOR DATA
influxdb:
image: influxdb:1.8.6
container_name: influxdb
restart: always
security_opt:
- no-new-privileges:true
ports:
- 8086:8086
- 8089:8089/udp
volumes:
- ./docker/influxdb/influxdb.conf:/etc/influxdb/influxdb.conf:ro
- ./docker/influxdb/db:/var/lib/influxdb
environment:
- TZ=Europe/Amsterdam
- INFLUXDB_HTTP_ENABLED=true
- INFLUXDB_DB=host
command: -config /etc/influxdb/influxdb.conf
# TELEGRAF - SERVER TELEMERTY AND METRICS COLLECTOR
telegraf:
image: telegraf:latest
container_name: telegraf
restart: unless-stopped
security_opt:
- no-new-privileges:true
volumes:
- ./docker/telegraf/telegraf.conf:/etc/telegraf/telegraf.conf:ro
- /var/run/docker.sock:/var/run/docker.sock:ro
- /sys:/rootfs/sys:ro
- /proc:/rootfs/proc:ro
- /etc:/rootfs/etc:ro
environment:
- TZ=Europe/Amsterdam
- HOST_PROC=/rootfs/proc
- HOST_SYS=/rootfs/sys
- HOST_ETC=/rootfs/etc
# GRAFANA - GRAPHICAL DATA VISUALIZATION FOR INFLUXDB DATA
grafana:
image: mbarmem/grafana-render:latest
container_name: grafana
restart: unless-stopped
security_opt:
- no-new-privileges:true
ports:
- 3000:3000
user: "0"
volumes:
- ./docker/grafana:/var/lib/grafana
- ./docker/grafana/grafana.ini:/etc/grafana/grafana.ini
environment:
- GF_INSTALL_PLUGINS=grafana-clock-panel,grafana-simple-json-datasource,grafana-worldmap-panel,grafana-piechart-panel
# HDDTEMP - MONITOR HDD TEMPS
hddtemp:
image: drewster727/hddtemp-docker:latest
container_name: hddtemp
restart: unless-stopped
privileged: true
depends_on:
- influxdb
- telegraf
- grafana
environment:
- HDDTEMP_ARGS="-q -d -F /dev/sd*"
- TZ=Europe/Amsterdam
# VARKEN - MONITOR PLEX, SONARR, RADARR, AND OTHER DATA
varken:
image: boerderij/varken:latest
container_name: varken
restart: unless-stopped
security_opt:
- no-new-privileges:true
volumes:
- ./docker/varken:/config
depends_on:
- influxdb
- telegraf
- grafana
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Amsterdam
# SABNZBD SCRIPT – SABNZBD STATS FOR INFLUXDB
sabnzbd-influxdb:
image: mbarmem/sabnzbd_influxdb:latest
container_name: sabnzbd-influxdb
restart: unless-stopped
volumes:
- ./docker/telegraf:/config
depends_on:
- influxdb
- telegraf
- grafana
environment:
- INTERVAL=5
- SABNBZBD_HOST=192.168.1.252 # IP ADDRESS OF SABNZBD SERVER
- SABNZBD_PORT=8080 # PORT OF SABNZBD SERVER
- SABNZBD_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX # API KEY FOR SABNZBD
- INFLUXDB_HOST=192.168.1.252 # IP ADDRESS OF INFLUXDB SERVER
- INFLUXDB_PORT=8086 # PORT OF INFLUXDB SERVER
- INFLUXDB_DB=sabnzbd # NAME OF SABNZBD DATABASE
# SPEEDTEST – SPEEDTEST COLLECTOR FOR INFLUXDB
speedtest:
image: mbarmem/speedtest-for-influxdb:latest
container_name: speedtest
restart: unless-stopped
volumes:
- ./docker/speedtest:/src
depends_on:
- influxdb
- telegraf
- grafana
# SABNZBD - BINARY NEWSGRABBER (NZB DOWNLOADER)
sabnzbd:
image: linuxserver/sabnzbd:latest
container_name: sabnzbd
restart: unless-stopped
security_opt:
- no-new-privileges:true
ports:
- 8080:8080
volumes:
- ./docker/sabnzbd:/config
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Amsterdam
- UMASK_SET=022
# TAUTULLI - PLEX STATISTICS AND MONITORING
tautulli:
image: linuxserver/tautulli:latest
container_name: tautulli
restart: unless-stopped
security_opt:
- no-new-privileges:true
ports:
- 8181:8181
volumes:
- ./docker/tautulli:/config
- ./docker/tautulli/logs:/logs:ro
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Amsterdam
# OMBI - MEDIA REQUESTS
req:
image: linuxserver/ombi:latest
container_name: ombi
restart: unless-stopped
security_opt:
- no-new-privileges:true
ports:
- 3579:3579
volumes:
- ./docker/ombi:/config
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Amsterdam
# PLEX - MEDIA SERVER
plex:
image: plexinc/pms-docker:public
container_name: plex
restart: unless-stopped
security_opt:
- no-new-privileges:true
ports:
- 32400:32400/tcp
volumes:
- ./docker/plex:/config
environment:
- PLEX_UID=1000
- PLEX_GID=1000
- TZ=Europe/Amsterdam