forked from Wonderfall/dockerfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
289 lines (270 loc) · 7.24 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
nginx:
restart: always
container_name: nginx
image: wonderfall/boring-nginx
#mistercyp/reverse
ports:
- "80:8000"
- "443:4430"
links:
- php:php
- rutorrent:rutorrent
# - emby:emby
- sickrage:sickrage
#- couchpotato:couchpotato
- rufy:rufy
#- owncloud:owncloud
- nextcloud:nextcloud
- postfixadmin:postfixadmin
- rainloop:rainloop
#- sharelatex:sharelatex
# - sonerezh:sonerezh
volumes:
- /home/cyprien/docker/containers/nginx/sites:/sites-enabled
- /home/cyprien/docker/containers/nginx/conf:/conf.d
- /etc/letsencrypt:/certs
- /home/cyprien/docker/containers/nginx/log:/var/log/nginx
- /home/cyprien/docker/containers/nginx/www:/www
- /home/cyprien/docker/containers/nginx/passwds:/passwds
php:
container_name: php
image: php:fpm-alpine
volumes:
- /home/cyprien/docker/containers/nginx/www:/www
rutorrent:
image: mistercyp/rutorrent
restart: always
# build:
# context: /home/cyprien/docker/dockerfiles/rutorrent
# dockerfile: Dockerfile
container_name: rutorrent
environment:
- WEBROOT=/rutorrent
- UID=1000
- GID=1000
ports:
- "49184:49184"
- "49184:49184/udp"
volumes:
- /home/cyprien/seedbox:/data
- /home/cyprien/seedbox/rutorrent/rc:/home/torrent
- /home/cyprien/seedbox/rutorrent/log:/var/log/nginx
#emby:
# container_name: emby
# image: xataz/emby
# environment:
# - UID=1000
# - GID=1000
# ports:
# - "8096:8096"
# - "8920:8920"
# volumes:
# - /home/cyprien/docker/containers/emby/config:/embyData
# - /home/cyprien/seedbox/Media:/Media
sickrage:
container_name: sickrage
restart: always
image: mistercyp/sickrage
environment:
- UID=1000
- GID=1000
- WEBROOT=/sickrage
volumes:
- /home/cyprien/docker/containers/sickrage:/config
- /home/cyprien/seedbox:/seedbox
rufy:
container_name: rufy
image: mistercyp/rufy
environment:
- UID=1000
- GID=1000
- WEBROOT=/rufy
volumes:
- /home/cyprien/docker/containers/nginx/log:/var/www/RuFy/log
- /home/cyprien/docker/containers/rufy/db:/var/www/RuFy/db
- /home/cyprien/seedbox/.watch:/watch
# couchpotato:
# container_name: couchpotato
# image: mistercyp/couchpotato
# environment:
# - UID=1000
# - GID=1000
# - WEBROOT=/cp
# volumes:
# - /home/cyprien/docker/containers/couchpotato:/config
# - /home/cyprien/seedbox:/seedbox
mailserver:
image: hardware/mailserver
container_name: mailserver
domainname: homedia.ovh
hostname: mail
links:
- mariadb:mariadb
ports:
- "25:25" # SMTP - Required
- "143:143" # IMAP STARTTLS - For webmails/desktop clients
- "465:465" # SMTPS SSL/TLS - Enabled for compatibility reason, otherwise disabled
- "587:587" # Submission STARTTLS - For webmails/desktop clients
- "993:993" # IMAPS SSL/TLS - For webmails/desktop clients
- "4190:4190" # SIEVE STARTTLS - Optional, but recommended for mail filtering
environment:
- DBPASS=lefebvre
volumes:
- /home/cyprien/docker/containers/mail:/var/mail
- /home/cyprien/docker/containers/opendkim:/etc/opendkim/keys
# Control panel
postfixadmin:
image: hardware/postfixadmin
container_name: postfixadmin
domainname: homedia.ovh
hostname: mail
links:
- mariadb:mariadb
environment:
- DBPASS=lefebvre
# Webmail
rainloop:
image: hardware/rainloop
container_name: rainloop
links:
- mailserver:mailserver
- mariadb:mariadb
volumes:
- /home/cyprien/docker/containers/rainloop:/rainloop/data
# Database
mariadb:
image: mariadb:10.1
container_name: mariadb
environment:
- MYSQL_ROOT_PASSWORD=lefebvre
- MYSQL_DATABASE=postfix
- MYSQL_USER=postfix
- MYSQL_PASSWORD=lefebvre
volumes:
- /home/cyprien/docker/containers/dbmail:/var/lib/mysql
openvpn:
image: kylemanna/openvpn
container_name: openvpn
volumes:
- /home/cyprien/openvpn/data:/etc/openvpn
ports:
- "1194:1194/udp"
cap_add:
- NET_ADMIN
# kodi:
# image: linuxserver/kodi-headless
# container_name: kodi
# volumes:
# - /home/cyprien/docker/containers/kodi:/config/.kodi
# - /home/cyprien/seedbox:/data
# environment:
# - PGID=1000
# - PUID=1000
# ports:
# - "9777:9777/udp"
# - "8080:8080"
# links:
# - db_kodi:db_kodi
# db_kodi:
# image: mariadb:10
# container_name: db_kodi
# volumes:
# - /home/cyprien/docker/containers/kodi/db:/var/lib/mysql
# environment:
# - MYSQL_ROOT_PASSWORD=supersecretpassword
# - MYSQL_USER=kodi
# - MYSQL_PASSWORD=supersecretpassword
#boinc:
# image: wonderfall/boinc
# container_name: boinc
# hostname: homedia
# cpuset: 0,1
# volumes:
# - /home/cyprien/docker/containers/boinc:/home/boinc
#sharelatex:
# image: sharelatex/sharelatex
# container_name: sharelatex
# privileged: true
# ports:
# - "1234:80"
# links:
# - mongo
# - redis
# volumes:
# - /home/cyprien/docker/containers/sharelatex/data:/var/lib/sharelatex
# environment:
# SHARELATEX_MONGO_URL: mongodb://mongo/sharelatex
# SHARELATEX_REDIS_HOST: redis
# SHARELATEX_APP_NAME: 'Our ShareLaTeX'
# SHARELATEX_SITE_URL: "http://sharelatex.homedia.ovh"
# SHARELATEX_NAV_TITLE: "Our ShareLaTeX Instance"
# SHARELATEX_ADMIN_EMAIL: "[email protected]"
#mongo:
# image: mongo
# container_name: mongo
# expose:
# - 27017
# volumes:
# - /home/cyprien/docker/containers/sharelatex/mongo:/data/db
#redis:
# image: redis
# container_name: redis
# expose:
# - 6379
# volumes:
# - /home/cyprien/docker/containers/sharelatex/redis:/data
#sonerezh-db:
# image: mariadb
# container_name: sonerezh-db
# environment:
# - MYSQL_ROOT_PASSWORD=lefebvre
# - MYSQL_DATABASE=sonerezh
# - MYSQL_USER=sonerezh
# - MYSQL_PASSWORD=lefebvre
# volumes:
# - /home/cyprien/docker/containers/sonerezh/db:/var/lib/mysql
#sonerezh:
# image: sonerezh/sonerezh:latest
# container_name: sonerezh
# links:
# - sonerezh-db:sonerezh-db
# volumes:
# - /home/cyprien/seedbox/Media/Music:/music
# - /home/cyprien/docker/containers/sonerezh/thumbnails:/thumbnails
nextcloud:
image: wonderfall/nextcloud
container_name: nextcloud
links:
- nextcloud-db:nextcloud-db # If using MySQL
environment:
- UID=1000
- GID=1000
- ADMIN_USER=admin # Don't set to configure through browser
- ADMIN_PASSWORD=lefebvre # Don't set to configure through browser
- UPLOAD_MAX_SIZE=10G
- APC_SHM_SIZE=128M
- OPCACHE_MEM_SIZE=128
- CRON_PERIOD=15m
- TZ=Europe/Berlin
- DOMAIN=localhost
- DB_TYPE=mysql
- DB_NAME=nextcloud
- DB_USER=nextcloud
- DB_PASSWORD=lefebvre
- DB_HOST=nextcloud-db
volumes:
- /home/cyprien/docker/containers/nextcloud/data:/data
- /home/cyprien/docker/containers/nextcloud/config:/config
- /home/cyprien/docker/containers/nextcloud/apps:/apps2
- /home/cyprien/docker/containers/nextcloud/themes:/nextcloud/themes
# If using MySQL
nextcloud-db:
container_name: nextcloud-db
image: mariadb:10
volumes:
- /home/cyprien/docker/containers/nextcloud/db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=lefebvre
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
- MYSQL_PASSWORD=lefebvre