forked from macbury/SmartHouse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.support.yaml
executable file
·254 lines (253 loc) · 6.13 KB
/
docker-compose.support.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
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
# Supporting services, like database that always must be online
version: '3.5'
services:
rss-bridge:
image: rssbridge/rss-bridge:latest
ports:
- '59900:80'
node-red:
image: nodered/node-red:latest
ports:
- 51880:1880
environment:
- TZ=Europe/Warsaw
volumes:
- .docker/data/node-red:/data
grocy:
image: linuxserver/grocy:latest
ports:
- '59000:80'
volumes:
- .docker/data/grocy2:/config
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Warsaw
simple-login-crontab:
image: simplelogin/app:1.0.0
network_mode: host
restart: unless-stopped
depends_on:
- database
env_file:
- '.env.simplelogin'
volumes:
- .docker/data/simple-login/keys/dkim.key:/dkim.key
- .docker/data/simple-login/keys/dkim.pub.key:/dkim.pub.key
- .env.simplelogin:/code/.env
command: yacron -c /code/crontab.yml
simple-login-email:
image: simplelogin/app:1.0.0
network_mode: host
restart: unless-stopped
ports:
- "0.0.0.0:20381:20381"
depends_on:
- database
env_file:
- '.env.simplelogin'
volumes:
- .docker/data/simple-login/keys/dkim.key:/dkim.key
- .docker/data/simple-login/keys/dkim.pub.key:/dkim.pub.key
- .env.simplelogin:/code/.env
command: python email_handler.py
simple-login:
image: simplelogin/app:1.0.0
network_mode: host
restart: unless-stopped
ports:
- "0.0.0.0:7777:7777"
depends_on:
- database
env_file:
- '.env.simplelogin'
volumes:
- .docker/data/simple-login/keys/dkim.key:/dkim.key
- .docker/data/simple-login/keys/dkim.pub.key:/dkim.pub.key
- .env.simplelogin:/code/.env
gotify:
image: gotify/server:latest
ports:
- "0.0.0.0:5580:80"
volumes:
- .docker/data/gotify:/app/data
orion:
build: ./orion/
restart: unless-stopped
ports:
- "127.0.0.1:5500:5000"
- "127.0.0.1:5501:8080"
depends_on:
- mysql
- redis
firefox:
build: ./ff-sync/
network_mode: host
restart: unless-stopped
env_file:
- '.env.syncserver'
environment:
- SYNCSERVER_SQLURI=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@localhost:4101/ffsync
depends_on:
- database
redis:
image: redis:4.0.10
ports:
- 6379:6379
volumes:
- .docker/data/redis:/data
nextcloud:
build: ./nextcloud/
ports:
- 4333:80
env_file:
- '.env.nextcloud'
volumes:
- .docker/data/nextcloud_next:/var/www/html
depends_on:
- database
- redis
mqtt:
restart: unless-stopped
image: eclipse-mosquitto:latest
ports:
- 0.0.0.0:4105:1883
volumes:
- .docker/data/mosquitto:/mosquitto/data
- .docker/log/mosquitto.log:/mosquitto/log/mosquitto.log
- ./mosquitto/mosquitto.conf:/mosquitto/config/mosquitto.conf
influxdb:
restart: unless-stopped
image: influxdb:latest
ports:
- "0.0.0.0:18086:8086"
volumes:
- .docker/data/influxdb:/var/lib/influxdb
env_file:
- '.env.influxdb'
database:
image: postgres:9.6.10-alpine
restart: unless-stopped
security_opt:
- seccomp:unconfined
ports:
- 0.0.0.0:4101:5432
environment:
PGDATA: /data
env_file:
- '.env.postgresql'
volumes:
- ./postgresql/:/docker-entrypoint-initdb.d/
- .docker/data/postgresql:/data
- /tmp/shared:/shared
mysql:
image: mysql:latest
env_file:
- '.env.mysql'
volumes:
- .docker/data/mysql:/var/lib/mysql
grafana:
image: grafana/grafana:6.5.0
restart: unless-stopped
user: "472"
env_file:
- '.env.grafana'
- '.env.influxdb'
- '.env.local'
environment:
GF_SERVER_DOMAIN: "${HOME_ASSISTANT_DOMAIN}"
GF_SERVER_ROOT_URL: "https://${HOME_ASSISTANT_DOMAIN}/grafana/"
ports:
- "127.0.0.1:4100:3000"
volumes:
- .docker/data/grafana:/var/lib/grafana
depends_on:
- influxdb
glances:
restart: unless-stopped
image: nicolargo/glances
environment:
- GLANCES_OPT=-w
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- ./glances/:/glances/conf/
ports:
- 4108:61208
vacuum:
build: ./vacuum/
volumes:
- .docker/data/vacuum:/app/public
ports:
- 10005:3000
esphome:
image: esphome/esphome:latest
volumes:
- .docker/data/esphome:/config
- /etc/localtime:/etc/localtime:ro
network_mode: host
notes:
build: ./notes/
ports:
- 12005:3000
links:
- mysql
env_file:
- '.env.notes'
- '.env.mysql'
rss:
image: miniflux/miniflux:latest
restart: unless-stopped
ports:
- 12008:8080
environment:
- DATABASE_URL=postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@database:5432/miniflux?sslmode=disable
env_file:
- '.env.rss'
blog:
image: blog:latest
network_mode: host
volumes:
- .docker/data/blog/store:/app/public/store
- .docker/data/blog/system:/app/public/system
- .docker/data/blog/application.yml:/app/config/application.yml
- .docker/data/blog/database.yml:/app/config/database.yml
- .docker/data/blog/secrets.yml:/app/config/secrets.yml
speedtest:
image: macbury/speedtest:latest
env_file:
- '.env.speedtest'
ports:
- 6888:80
monio:
restart: unless-stopped
image: macbury/mon.io:latest
network_mode: host
volumes:
- .docker/data/monio/:/app/storage
env_file:
- .env.monio
depends_on:
- database
youtube:
build: ./youtube/
restart: unless-stopped
ports:
- "127.0.0.1:7883:3000"
volumes:
- .docker/data/invidious/config.yml:/invidious/config/config.yml
depends_on:
- database
ytdl:
image: yt-music-download-helper:latest
restart: unless-stopped
ports:
- "127.0.0.1:7887:3000"
volumes:
- /mnt/Music/YouTube:/output
- /mnt/UsbDisk/YouTube:/download
environment:
- REDIS_URL=redis://redis:6379/5
- COMPLETED_PATH=/output
- INCOMPLETE_PATH=/download
depends_on:
- redis