-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathdocker-compose.yml
261 lines (246 loc) · 6.69 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
version: '2'
services:
main:
image: savonet/liquidsoap:v2.0.3
volumes:
- ./config:/config
- ${PLAYLISTS_ROOT}:/playlists
- ./data:/data
- /etc/localtime:/etc/localtime:ro
#command: /bin/bash -xc 'env; /supervisor.sh liquidsoap -v --debug /config/main.liq'
command: -v --debug /config/main.liq
restart: always
env_file:
- .env
environment:
- HARBOR_PASSWORD
- LIVE_PASSWORD
- BROADCAST_PORT_5001_TCP_ADDR=broadcast
- BROADCAST_PORT_5001_TCP_PORT=5001
- BROADCAST_PORT_5003_TCP_ADDR=broadcast
- BROADCAST_PORT_5003_TCP_PORT=5003
- BROADCAST_PORT_5005_TCP_ADDR=broadcast
- BROADCAST_PORT_5005_TCP_PORT=5005
- BROADCAST_PORT_5007_TCP_ADDR=broadcast
- BROADCAST_PORT_5007_TCP_PORT=5007
links:
- broadcast
ports:
- 8021:5001
- 8022:5002
- 127.0.0.1:15000:5000
#testing:
# image: savonet/liquidsoap:v1.4.4
# volumes:
# - ./config:/config
# - ./playlists:/playlists
# - ./data:/data
# - /etc/localtime:/etc/localtime:ro
# command: /bin/bash -xc 'env; /supervisor.sh liquidsoap -v --debug /config/testing.liq'
# environment:
# - HARBOR_PASSWORD
# - LIVE_PASSWORD
# - ICECAST_SOURCE_PASSWORD
# links:
# - icecast
# ports:
# - 8023:5001
# - 8024:5002
# - 127.0.0.1:5003:5000
broadcast:
#image: savonet/liquidsoap:v1.4.4
image: savonet/liquidsoap:v2.0.3
volumes:
- ./config:/config
- ${PLAYLISTS_ROOT}/failures:/playlists/failures
- /etc/localtime:/etc/localtime:ro
#command: /bin/bash -xc 'env; /supervisor.sh liquidsoap /config/broadcast.liq'
command: -v --debug /config/broadcast.liq
env_file:
- .env
environment:
- HARBOR_PASSWORD
- ICECAST_SOURCE_PASSWORD
- ICECAST_PORT_8000_TCP_ADDR=icecast
- ICECAST_PORT_8000_TCP_PORT=8000
links:
- icecast
ports:
- 127.0.0.1:15001:5000
- 5001
- 5003
- 5005
- 5007
restart: always
icecast:
image: moul/icecast
volumes:
- ./logs/icecast2:/var/log/icecast2
- /etc/localtime:/etc/localtime:ro
networks:
- default
- service-proxy
env_file:
- .env
environment:
- VIRTUAL_HOST=radio.casse-tete.solutions,icecast.radios.stack.cool
- VIRTUAL_PORT=8000
- ICECAST_SOURCE_PASSWORD
- ICECAST_ADMIN_PASSWORD
- ICECAST_PASSWORD
- ICECAST_RELAY_PASSWORD
ports:
- 8000
restart: always
webftp:
image: httpd
volumes:
- ${PLAYLISTS_ROOT}:/usr/local/apache2/htdocs/playlists
- ${PLAYLISTS_ROOT}/robots.txt:/usr/local/apache2/htdocs/robots.txt:ro
- ./trucs:/usr/local/apache2/htdocs/trucs
#- ../gajeb/playlists:/usr/local/apache2/htdocs/radio-gajeb
networks:
- default
- service-proxy
env_file:
- .env
environment:
- VIRTUAL_HOST=radio-ftp.casse-tete.solutions
- VIRTUAL_PORT=80
restart: always
ftpd:
image: stilliard/pure-ftpd
ports:
- 0.0.0.0:666:21
# passive mode
- 0.0.0.0:40110:40110
- 0.0.0.0:40111:40111
- 0.0.0.0:40112:40112
- 0.0.0.0:40113:40113
- 0.0.0.0:40114:40114
- 0.0.0.0:40115:40115
- 0.0.0.0:40116:40116
- 0.0.0.0:40117:40117
- 0.0.0.0:40118:40118
- 0.0.0.0:40119:40119
- 0.0.0.0:40120:40120
- 0.0.0.0:40121:40121
- 0.0.0.0:40122:40122
- 0.0.0.0:40123:40123
- 0.0.0.0:40124:40124
- 0.0.0.0:40125:40125
- 0.0.0.0:40126:40126
- 0.0.0.0:40127:40127
- 0.0.0.0:40128:40128
- 0.0.0.0:40129:40129
volumes:
#- ./config:/ftp/config
- ${PLAYLISTS_ROOT}:/ftp/playlists
- ./data:/ftp/data
- ./trucs:/ftp/trucs
- ./backup-1and1:/ftp/backup-1and1
- ./ftpd/:/etc/pure-ftpd/config
- /etc/localtime:/etc/localtime:ro
#- ../gajeb/playlists:/ftp/radio-gajeb
command: /bin/bash -c 'cd /etc/pure-ftpd; rm -f pureftpd.{pdb,passwd}; ln -s config/* .; /usr/sbin/pure-ftpd -c 30 -C 10 -l puredb:/etc/pure-ftpd/pureftpd.pdb -x -E -j -R -d -p 40110:40129'
restart: always
#btsync:
# image: shykes/bittorrentsync
# volumes:
# - btsync:/btsync
# - playlists:/data
# ports:
# - 8889:8889
# - 55556:55556
admin:
image: tutum/apache-php
ports:
- 80
volumes:
- /etc/localtime:/etc/localtime:ro
- ./admin:/app
networks:
- default
- service-proxy
env_file:
- .env
environment:
- VIRTUAL_HOST=radio-admin.casse-tete.solutions
- VIRTUAL_PORT=80
- ICECAST_ADMIN_PASSWORD
- MAIN_PORT_5000_TCP=tcp://main:5000
- BROADCAST_PORT_5000_TCP=tcp://broadcast:5000
links:
- main
restart: always
#piwik:
# #image: bprodoehl/piwik
# #image: cbeer/piwik
# volumes:
# - /etc/localtime:/etc/localtime:ro
# image: marvambass/piwik
# links:
# - piwikmysql:mysql
# ports:
# - 12346:80
# - 12347:443
# environment:
# - PIWIK_MYSQL_USER=root
# - PIWIK_PASSWORD
# - PIWIK_MYSQL_PASSWORD
# - SITE_URL
#piwikcron:
# image: marvambass/piwik
# environment:
# - HOSTNAME
# - PIWIK_PASSWORD
# entrypoint: /bin/bash
# volumes:
# - /etc/localtime:/etc/localtime:ro
# - ./logs/icecast2:/data/logs/icecast2
# command: -c 'apt-get -y install python; while true; do python /piwik/misc/log-analytics/import_logs.py --show-pro gress --url=http://$HOSTNAME:12346/piwik/ --idsite=1 --recorders=8 --enable-http-errors --log-format-name=icecast2 - -strip-query-string /data/logs/icecast2/access.log --login=admin --password=$PIWIK_PASSWORD; sleep 10; done'
#piwikmysql:
# image: mysql
# environment:
# - MYSQL_ROOT_PASSWORD
# volumes:
# - /etc/localtime:/etc/localtime:ro
# - ./mysql:/var/lib/mysql
#dashing:
# image: frvi/dashing
# ports:
# - 0.0.0.0:12349:3030
# #command: /bin/bash /run.sh
# #command: /usr/local/bundle/bin/dashing start
# volumes:
# - /etc/localtime:/etc/localtime:ro
## - ./dashing:/dashing
# - ./dashing/config.ru:/config/config.ru
# - ./dashing/jobs:/jobs
# - ./dashing/dashboards:/dashboards
# - ./dashing/widgets:/widgets
# links:
# - icecast
# environment:
# - ICECAST_ADMIN_PASSWORD
# - ADMIN_IFRAME_URL
# - GEMS=addressable
#jordy:
# image: moul/triplie-ng
# volumes:
# - ./jordy:/data
#jordy3000:
# image: moul/triplie-ng
# volumes:
# - ./jordy3000:/data
#glados:
# restart: always
# build: GLaDOS
# volumes:
# - ./GLaDOS/config:/usr/src/app/config
# - ./GLaDOS/lib:/usr/src/app/lib
# - ./GLaDOS/scripts:/usr/src/app/scripts
# - ./GLaDOS/data:/usr/src/app/data
networks:
service-proxy:
external: true