forked from matt8707/docker-compose-dsm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
executable file
·286 lines (269 loc) · 7.34 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
services:
bazarr:
container_name: bazarr
image: ghcr.io/linuxserver/bazarr
volumes:
- /volume1/docker/bazarr:/config
- /volume1/data/media/movies:/movies
- /volume1/data/media/tv:/tv
- /volume1/data:/data
network_mode: bridge
ports:
- 6767:6767
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
- DOCKER_MODS=ghcr.io/gilbn/theme.park:bazarr
restart: always
eclipse-mosquitto:
container_name: eclipse-mosquitto
image: eclipse-mosquitto
volumes:
- /volume1/docker/mosquitto/config/mosquitto.conf:/mosquitto/config/mosquitto.conf
- /volume1/docker/mosquitto/data:/mosquitto/data
- /volume1/docker/mosquitto/log:/mosquitto/log
network_mode: bridge
ports:
- 1883:1883
- 9001:9001
restart: always
esphome:
container_name: esphome
image: esphome/esphome
volumes:
- /volume1/docker/esphome:/config:rw
- /etc/localtime:/etc/localtime:ro
environment:
- TZ=${TZ}
network_mode: host
restart: always
freshrss:
container_name: freshrss
image: freshrss/freshrss
volumes:
- /volume1/docker/freshrss:/var/www/FreshRSS/data
network_mode: bridge
ports:
- 8089:80
environment:
- TZ=${TZ}
- CRON_MIN=13,43
logging:
options:
max-size: 10m
restart: always
home-assistant:
container_name: home-assistant
image: homeassistant/home-assistant
volumes:
- /volume1/docker/hass-config:/config
- /var/run/docker.sock:/var/run/docker.sock
- /dev/bus/usb:/dev/bus/usb
- /etc/localtime:/etc/localtime:ro
privileged: true
network_mode: host
depends_on:
- mariadb
- eclipse-mosquitto
restart: always
mariadb:
container_name: mariadb
image: mariadb
volumes:
- /volume1/docker/mariadb:/var/lib/mysql
- /etc/localtime:/etc/localtime:ro
network_mode: bridge
ports:
- 3306:3306
environment:
- MARIADB_DATABASE=homeassistant
- MARIADB_ROOT_PASSWORD=${MARIADB_PASSWORD}
- MARIADB_USER=homeassistant
- MARIADB_PASSWORD=${MARIADB_PASSWORD}
restart: always
plex:
container_name: plex
image: ghcr.io/linuxserver/plex
volumes:
- /volume1/docker/plex/config:/config
- /volume1/data/media/tv:/tv
- /volume1/data/media/movies:/movies
- /etc/localtime:/etc/localtime:ro
network_mode: host
environment:
- PUID=${PUID}
- PGID=${PGID}
- VERSION=docker
restart: always
prowlarr:
container_name: prowlarr
image: ghcr.io/linuxserver/prowlarr:develop
volumes:
- /volume1/docker/prowlarr:/config
- /etc/localtime:/etc/localtime:ro
network_mode: bridge
ports:
- 9696:9696
environment:
- PUID=${PUID}
- PGID=${PGID}
- DOCKER_MODS=ghcr.io/gilbn/theme.park:prowlarr
restart: always
ps5-mqtt:
container_name: ps5-mqtt
image: ghcr.io/funkeyflo/ps5-mqtt/amd64
volumes:
- /volume1/docker/ps5-mqtt:/config
network_mode: host
entrypoint: /config/run.sh
environment:
- MQTT_HOST=${MQTT_HOST}
- DEVICE_CHECK_INTERVAL=5000
- DEVICE_DISCOVERY_INTERVAL=60000
- INCLUDE_PS4_DEVICES=false
- FRONTEND_PORT=8645
- CREDENTIAL_STORAGE_PATH=/config/credentials.json
- TZ=${TZ}
- DEBUG=@ha:ps5:*
restart: always
radarr:
container_name: radarr
image: ghcr.io/linuxserver/radarr
volumes:
- /volume1/docker/radarr:/config
- /volume1/data/media/movies:/movies
- /volume1/data/downloads:/downloads
- /volume1/data:/data
- /etc/localtime:/etc/localtime:ro
network_mode: bridge
ports:
- 7878:7878
environment:
- PUID=${PUID}
- PGID=${PGID}
- UMASK=002
- DOCKER_MODS=ghcr.io/gilbn/theme.park:radarr
restart: always
sonarr:
container_name: sonarr
image: ghcr.io/linuxserver/sonarr
volumes:
- /volume1/docker/sonarr:/config
- /volume1/data/media/tv:/tv
- /volume1/data/downloads:/downloads
- /volume1/data:/data
- /etc/localtime:/etc/localtime:ro
network_mode: bridge
ports:
- 8989:8989
environment:
- PUID=${PUID}
- PGID=${PGID}
- UMASK=002
- DOCKER_MODS=ghcr.io/gilbn/theme.park:sonarr
restart: always
transmission-hass-proxy:
container_name: transmission-hass-proxy
image: haugene/transmission-openvpn-proxy
volumes:
- /etc/localtime:/etc/localtime:ro
network_mode: bridge
ports:
- 9092:8080
links:
- transmission
labels:
- com.centurylinklabs.watchtower.depends-on=transmission
depends_on:
- transmission
restart: always
transmission:
container_name: transmission
image: haugene/transmission-openvpn
volumes:
- /volume1/docker/transmission:/data
- /volume1/data/downloads:/downloads
- /etc/localtime:/etc/localtime:ro
network_mode: bridge
ports:
- 9091:9091
cap_add:
- NET_ADMIN
sysctls:
- net.ipv6.conf.all.disable_ipv6=0
environment: &env
OPENVPN_PROVIDER: ${OVPN_PROVIDER}
OPENVPN_CONFIG: ${OVPN_CONFIG}
OPENVPN_USERNAME: ${OVPN_USERNAME}
OPENVPN_PASSWORD: ${OVPN_PASSWORD}
OPENVPN_OPTS: --inactive 3600 --ping 10 --ping-exit 60
LOCAL_NETWORK: 192.168.1.0/24
PUID: ${PUID}
PGID: ${PGID}
TRANSMISSION_UMASK: 18
TRANSMISSION_DOWNLOAD_DIR: /downloads
TRANSMISSION_DOWNLOAD_QUEUE_SIZE: 100
TRANSMISSION_INCOMPLETE_DIR_ENABLED: "false"
TRANSMISSION_PEER_LIMIT_GLOBAL: 1000
TRANSMISSION_PEER_LIMIT_PER_TORRENT: 100
TRANSMISSION_WEB_UI: flood-for-transmission
LOG_TO_STDOUT: "true"
restart: always
transmission-seed:
container_name: transmission-seed
image: haugene/transmission-openvpn
volumes:
- /volume1/docker/transmission-seed:/data
- /volume1/temp/dump:/downloads
- /etc/localtime:/etc/localtime:ro
network_mode: bridge
ports:
- 9191:9091
cap_add:
- NET_ADMIN
sysctls:
- net.ipv6.conf.all.disable_ipv6=0
environment:
<<: *env
TRANSMISSION_RPC_AUTHENTICATION_REQUIRED: "true"
TRANSMISSION_RPC_USERNAME: ${TRANSMISSION_RPC_USERNAME}
TRANSMISSION_RPC_PASSWORD: ${TRANSMISSION_RPC_PASSWORD}
# TRANSMISSION_PEX_ENABLED: "false"
# TRANSMISSION_LPD_ENABLED: "false"
# TRANSMISSION_DHT_ENABLED: "false"
restart: always
watchtower:
container_name: watchtower
image: containrrr/watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /etc/localtime:/etc/localtime:ro
network_mode: bridge
labels:
- watchtower
command: --cleanup --interval 1 --run-once
youtube-watching:
container_name: youtube-watching
image: ghcr.io/matt8707/youtube-watching
volumes:
- /volume1/docker/youtube-watching/config:/youtube-watching/config/
environment:
- COOKIE=./config/youtube.com_cookies.txt
network_mode: bridge
ports:
- 5678:5678
restart: always
zigbee2mqtt:
container_name: zigbee2mqtt
image: koenkk/zigbee2mqtt
volumes:
- /volume1/docker/zigbee2mqtt:/app/data
- /run/udev:/run/udev:ro
devices:
- /dev/ttyACM0:/dev/ttyACM0
privileged: true
network_mode: host
environment:
- TZ=${TZ}
restart: always