-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
80 lines (73 loc) · 1.44 KB
/
docker-compose.yml
File metadata and controls
80 lines (73 loc) · 1.44 KB
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
version: "3.3"
services:
builder:
user: builder
build: ./docker/builder
volumes:
- ./:/tmp/spotifm
icecast2:
image: pltnk/icecast2
hostname: icecast2
volumes:
- type: bind
source: ./etc/icecast.xml
target: /etc/icecast2/icecast.xml
networks:
fm:
aliases:
- icecast2
ports:
- "0.0.0.0:8000:8000"
restart: always
streamer:
user: user
build: ./docker/streamer
volumes:
- type: bind
source: ./target/release/spotifm
target: /usr/local/bin/spotifm
- type: bind
source: ./etc/pulse.liq
target: /etc/liquidsoap/pulse.liq
- type: bind
source: ./config.json
target: /etc/spotifm.json
networks:
fm:
aliases:
- streamer
ports:
- "0.0.0.0:9090:9090"
depends_on:
- icecast2
restart: always
ircbot:
user: node
build: ./docker/ircbot
volumes:
- type: bind
source: ./ircbot.json
target: /etc/ircbot.json
networks:
fm:
aliases:
- ircbot
depends_on:
- streamer
restart: always
discordbot:
user: node
build: ./docker/discordbot
volumes:
- type: bind
source: ./discordbot.json
target: /etc/discordbot.json
networks:
fm:
aliases:
- discordbot
depends_on:
- streamer
restart: always
networks:
fm: