-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathdocker-compose.yml
50 lines (45 loc) · 1.29 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
services:
roon:
container_name: roon-server
build:
context: .
image: roon-server:latest
restart: unless-stopped
network_mode: host
privileged: true
user: ubuntu
volumes:
- ~/music:/music:ro # TODO: replace ~/music with your music directory
- roon-server-data:/opt/RoonServer
- roon-server-cache:/var/roon
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
volumes:
roon-server-data:
name: roon-server-data
roon-server-cache:
name: roon-server-cache
## if running in 'bridge' or 'macvlan' network mode,
## expose these ports:
# ports:
# - "9003:9003/udp" # multicast
# - "9100-9200:9100-9200/tcp" # RAAT
# - "9001-9002:9001-9002/tcp" # ?
# - "9330-9339:9330-9339/tcp" # ?
# - "30000-30010:30000-30010/tcp" # Chromecast
# - "49863:49863/tcp" # ?
# - "52667:52667/tcp" # ?
# - "52709:52709/tcp" # ?
# - "63098-63100:63098-63100/tcp" # ?
## if the roon server will play from an onboard sound card
# devices:
# - /dev/bus/usb
# - /dev/snd
# cap_add:
# - SYS_ADMIN
# - DAC_READ_SEARCH
# volumes:
# - /run/udev:/run/udev:ro
## try using this if roon is having trouble discovering devices
# security_opt:
# - apparmor:unconfined