-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
52 lines (46 loc) · 1.03 KB
/
docker-compose.yaml
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
version: '2.2'
services:
mpd:
image: randomcoww/mpd:0.21.19
ports:
- "6600:6600"
volumes:
- ./mpd.conf:/etc/mpd.conf
- "/tank/sorted-music:/mpd/music:ro"
- "/srv/docker/mpd/cache:/mpd/cache"
- "/srv/docker/mpd/playlists:/mpd/playlists"
devices:
- /dev/snd
links:
- icecast:icecast
restart: unless-stopped
cpus: 0.5
mem_limit: 128m
memswap_limit: 256m
mem_reservation: 128m
icecast:
image: moul/icecast
environment:
- ICECAST_SOURCE_PASSWORD=password
- ICECAST_ADMIN_PASSWORD=password
- ICECAST_PASSWORD=password
- ICECAST_RELAY_PASSWORD=password
ports:
- 8000:8000
restart: unless-stopped
cpus: 0.5
mem_limit: 128m
memswap_limit: 256m
mem_reservation: 128m
jukectl:
image: ghrc/jukectl
ports:
- "4567:4567"
environment:
MPD_HOST: "mpd"
MPD_PORT: "6600"
restart: unless-stopped
cpus: 0.5
mem_limit: 1024m
memswap_limit: 2048m
mem_reservation: 1024m