This repository has been archived by the owner on Jul 25, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
101 lines (95 loc) · 2.38 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
version: '2'
services:
main:
image: moul/liquidsoap
volumes:
- ./liquidsoap/config:/config
- ./playlists:/playlists
- ./data:/data
command: /bin/bash -xc 'env; /supervisor.sh liquidsoap -v --debug /config/main.liq'
environment:
- HARBOR_PASSWORD
- LIVE_PASSWORD
- BROADCAST_PORT_5001_TCP_ADDR=broadcast
- BROADCAST_PORT_5001_TCP_PORT=5001
restart: on-failure
links:
- broadcast
ports:
- 8021:5001
- 8022:5002
- 127.0.0.1:5000:5000
controller:
build: controller
ports:
- 8042:8042
volumes:
- ./data:/data:ro
- ./playlists:/playlists:ro
restart: on-failure
command: server
links:
- icecast
- main
networks:
- default
- service-proxy
environment:
- HARBOR_PASSWORD
- ICECAST_SOURCE_PASSWORD
- DATA_DIR=/data
- PLAYLISTS_DIR=/playlists
- CTRL_LIQ_TELNET_ADDR=main:5000
- VIRTUAL_HOST=controller-radio.berty-osmose.stack.cool,radio.osmose.world
- VIRTUAL_PORT=8042
broadcast:
image: moul/liquidsoap
volumes:
- ./liquidsoap/config:/config
- ./playlists/failures:/playlists/failures
command: /bin/bash -xc 'env; /supervisor.sh liquidsoap -v --debug /config/broadcast.liq'
restart: on-failure
environment:
- HARBOR_PASSWORD
- ICECAST_SOURCE_PASSWORD
- ICECAST_PORT_8000_TCP_ADDR=icecast
- ICECAST_PORT_8000_TCP_PORT=8000
links:
- icecast
ports:
- 5001
icecast:
image: moul/icecast
volumes:
- ./logs/icecast2:/var/log/icecast2
restart: on-failure
environment:
- ICECAST_SOURCE_PASSWORD
- ICECAST_ADMIN_PASSWORD
- ICECAST_PASSWORD
- ICECAST_RELAY_PASSWORD
- VIRTUAL_HOST=icecast.berty-osmose.stack.cool,stream.osmose.world
- VIRTUAL_PORT=8000
networks:
- default
- service-proxy
ports:
- 8000:8000
filebrowser:
image: filebrowser/filebrowser
volumes:
- ./playlists:/srv
- ./data/filebrowser.db:/database.db
- ./.filebrowser.json:/.filebrowser.json
environment:
- VIRTUAL_HOST=filebrowser-radio.berty-osmose.stack.cool,files.radio.osmose.world
- VIRTUAL_PORT=80
networks:
- default
- service-proxy
restart: on-failure
ports:
- 8044:80
networks:
service-proxy:
external: true