restructuring, removed unneccessary options from web ui

This commit is contained in:
jt-chris
2026-04-12 03:06:36 +02:00
parent 615cf26bdd
commit cdc4554731
22 changed files with 129 additions and 332 deletions

View File

@@ -0,0 +1,6 @@
services:
roonserver:
devices:
- /dev/snd:/dev/snd
group_add:
- audio

View File

@@ -0,0 +1,5 @@
services:
roonserver:
devices:
- /dev/dri:/dev/dri

View File

@@ -0,0 +1,6 @@
services:
roonserver:
volumes:
- /run/udev:/run/udev:ro
devices:
- /dev/bus/usb:/dev/bus/usb

View File

@@ -0,0 +1,22 @@
services:
roonserver:
environment:
- "QNAP_MODEL=${QNAP_MODEL:-Docker}"
- "QNAP_SERIAL=${QNAP_SERIAL:-NoSerial}"
- "QNAP_QTS_VER=${QNAP_QTS_VER:-System}"
- "ROONMNT_DIR=/Roon"
volumes:
# mount all disks and shared folders
- /share:/share
# mount database folder
- ${ROON_DATAROOT:-/dev/null}:/Roon/data
# mount qnap configfiles
- /etc/config/qpkg.conf:/etc/config/qpkg.conf:ro
- /etc/os-release:/etc/os-release:ro
# fake qnap binaries
- ../scripts/getcfg.sh:/sbin/getcfg:ro
- ../scripts/getsysinfo.sh:/sbin/getsysinfo
- ../scripts/get_hwsn.sh:/sbin/get_hwsn

View File

@@ -0,0 +1,11 @@
services:
roonserver:
image: ghcr.io/roonlabs/roonserver:latest
container_name: ${CONTAINER_NAME}
network_mode: host
environment:
- TZ=${TZ:-UTC}
stop_grace_period: 45s
restart: unless-stopped
logging:
driver: local

View File

@@ -0,0 +1,6 @@
services:
roonserver:
cap_add:
- SYS_ADMIN
- DAC_READ_SEARCH