Moving docker-compose to root for 'iris' as stack name

This commit is contained in:
James Barnsley
2019-08-14 15:10:46 +12:00
parent 9a949f21d6
commit 194a29e463
6 changed files with 366 additions and 279 deletions

23
docker-compose.example.yml Executable file
View File

@ -0,0 +1,23 @@
version: "3"
services:
snapserver:
image: currucuxu/snapcastserver
ports:
- 1704:1704
- 1705:1705
volumes:
- HOST_SNAPCAST_TEMP:/tmp
- ./docker/snapserver:/etc/default/snapserver
mopidy:
image: jaedb/iris
build:
context: .
depends_on:
- snapserver
ports:
- 6680:6680
volumes:
#- ./mopidy_iris:/iris/mopidy_iris (Uncomment this line to use a host-managed development build)
- ./docker/mopidy.conf:/config/mopidy.conf
- HOST_MUSIC_DIRECTORY:/var/lib/mopidy/media
- HOST_SNAPCAST_TEMP:/tmp