-
Notifications
You must be signed in to change notification settings - Fork 13
/
docker-compose.yml.test
49 lines (41 loc) · 1.18 KB
/
docker-compose.yml.test
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
version: '2'
volumes:
pulse: # Only required if using PA over UNIX socket
services:
# PulseAudio server
audio:
build: ./ # See supported devices for other archs
privileged: true
labels:
io.balena.features.dbus: 1 # Only required for bluetooth support
ports:
- 4317:4317 # Only required if using PA over TCP socket
volumes:
- 'pulse:/run/pulse' # Only required if using PA over UNIX socket
# # EXAMPLES SECTION
# # Bluetooth agent
# bluetooth:
# image: bh.cr/balenalabs/bluetooth
# network_mode: host
# cap_add:
# - NET_ADMIN
# labels:
# io.balena.features.dbus: 1
# # SOX example using TCP socket
# sox:
# build: ./examples/sox
# # MPlayer example using UNIX socket
# mplayer:
# build: ./examples/mplayer
# volumes:
# - 'pulse:/run/pulse'
# # nodejs example using UNIX socket
# nodejs:
# build: ./examples/nodejs
# volumes:
# - 'pulse:/run/pulse'
# # alsa bridge example using UNIX socket
# alsa-bridge:
# build: ./examples/alsa-bridge
# volumes:
# - 'pulse:/run/pulse'