-
Notifications
You must be signed in to change notification settings - Fork 432
/
docker-compose.yml
74 lines (65 loc) · 1.57 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
version: "2"
volumes:
spotifycache:
services:
# Core services
# -- Required for a fully featured installation of balenaSound
# -- Mutiroom services can be removed if not using multiroom mode
audio:
build: ./core/audio
privileged: true
labels:
io.balena.features.dbus: 1
ports:
- 4317:4317
sound-supervisor:
build:
context: .
dockerfile: ./core/sound-supervisor/Dockerfile.template
network_mode: host
labels:
io.balena.features.balena-api: "1"
io.balena.features.supervisor-api: 1
multiroom-server:
build: ./core/multiroom/server
restart: on-failure
ports:
- 1704:1704
- 1705:1705
- 1780:1780
multiroom-client:
build: ./core/multiroom/client
restart: on-failure
# Plugins
# -- Additional plugins can be added. See https://balena-sound.pages.dev/plugins
# -- Remove unwanted plugins as needed
bluetooth:
build: ./plugins/bluetooth
restart: on-failure
network_mode: host
cap_add:
- NET_ADMIN
labels:
io.balena.features.dbus: 1
airplay:
build: ./plugins/airplay
restart: on-failure
network_mode: host
privileged: true
labels:
io.balena.features.dbus: 1
spotify:
build: ./plugins/spotify
restart: on-failure
privileged: true
network_mode: host
volumes:
- spotifycache:/var/cache/raspotify
# https://github.com/balenablocks/hostname
hostname:
build: ./core/hostname
restart: no
labels:
io.balena.features.supervisor-api: 1
environment:
SET_HOSTNAME: balena