-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.yml
42 lines (42 loc) · 1.15 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.4"
services:
snapclient:
image: ivdata/snapclient
container_name: ${APP}-snapclient
environment:
HOST: snapserver
devices:
- /dev/snd
- /dev/bus/usb
command: /bin/bash -c /usr/bin/snapclient -h snapserver -s 1
snapserver:
image: cristianpb/snapserver
container_name: ${APP}-snapserver
ports:
- 1704:1704
- 1705:1705
- 1780:1780
volumes:
- ${HOST_SNAPCAST_TEMP}:/tmp
#- ./snapcast/snapserver.conf:/etc/default/snapserver.conf
mopidy:
image: ${DOCKER_USERNAME}/${APP}:${APP_VERSION_CUT}
container_name: ${APP}
build:
context: .
dockerfile: Dockerfile
target: muse
args:
app_path: /${APP}
depends_on:
- snapserver
ports:
- 6680:6680
volumes:
- ./build/:/${APP}/mopidy_muse/static
- ./mopidy_muse/mopidy.conf:/root/.config/mopidy/mopidy.conf
- ./mopidy_muse/Podcasts.opml:/etc/mopidy/podcast/Podcasts.opml
- ${HOST_MUSIC_DIRECTORY}:/var/lib/mopidy/music
- ${HOST_PLAYLIST_DIRECTORY}:/var/lib/mopidy/playlists
- ${HOST_SNAPCAST_TEMP}:/tmp
- ${APP_PATH}/dist:/${APP}/dist