-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
42 lines (39 loc) · 1 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
version: '3'
services:
mopidy:
image: jaedb/iris
volumes:
- ../music:/var/lib/mopidy/media:ro
- ../playlists:/var/lib/mopidy/playlists:ro
- ../netdj-configs/mopidy.conf:/config/mopidy.conf:ro
- ./mopidy-entrypoint.sh:/entrypoint.sh:ro
restart: always
depends_on:
- icecast
icecast:
image: infiniteproject/icecast
env_file: ../netdj-configs/icecast-env
volumes:
- ../netdj-configs/icecast.xml:/etc/icecast.xml:ro
- ./silence.mp3:/usr/share/icecast/web/silence.mp3:ro
bot:
image: node
user: node
working_dir: /home/node/app
volumes:
- ../mopidy-slack-bot:/home/node/app:ro
command: "npx nodemon"
env_file: ../netdj-configs/bot-env
depends_on:
- mopidy
web:
image: nginx:mainline-alpine
volumes:
- ../netdj-configs/nginx.conf:/etc/nginx/conf.d/default.conf:ro
- ../netdj-configs/htpasswd:/etc/nginx/htpasswd:ro
ports:
- 80:80
depends_on:
- mopidy
- icecast
- bot