Added automatic playback

This commit is contained in:
2020-05-01 15:25:23 +02:00
parent f18e948aad
commit 3708823db5

View File

@@ -17,4 +17,12 @@ services:
- STREAM_BITRATE=192 - STREAM_BITRATE=192
- STREAM_MOUNT_POINT=mystream - STREAM_MOUNT_POINT=mystream
volumes: volumes:
- ./music:/music/ - ./music/music/
mpc:
build:
context: ./mpd-docker
dockerfile: Dockerfile
command: bash -c "mpc -h mpd update && mpc -h mpd ls | mpc -h mpd add && mpc -h mpd shuffle && mpc -h mpd play && echo 'Playing...'"
depends_on:
- icecast
- mpd