upgraded assets for webpanel, further enhancements and fixes regarding docker env

This commit is contained in:
crieke
2026-04-13 04:19:15 +02:00
parent c4548430a7
commit 3c017e9c68
91 changed files with 78899 additions and 40263 deletions

View File

@@ -1,22 +1,23 @@
services:
roonserver:
environment:
- "ROON_ID_DIR=/Roon/id"
# these vars are used by the (fake) qnap scripts
- "QNAP_MODEL=${QNAP_MODEL:-Docker}"
- "QNAP_SERIAL=${QNAP_SERIAL:-NoSerial}"
- "QNAP_QTS_VER=${QNAP_QTS_VER:-System}"
- "ROONMNT_DIR=/Roon"
- "ROON_QNAP_MNT_DIR=/Roon"
volumes:
# mount all disks and shared folders
- /share:/share
# mount database folder
- ${ROON_DATAROOT:-/dev/null}:/Roon/data
# mount id from app dir, so it will be the same if a new database directory is selected in the qnap web panel
- ${ROON_ID_HOST_DIR}:/Roon/id
# mount qnap configfiles
- /etc/config/qpkg.conf:/etc/config/qpkg.conf:ro
- /etc/os-release:/etc/os-release:ro
# fake qnap binaries
- /etc/os-release:/etc/os-release:ro
# fake qnap binaries, that are used to identify host as qnap
- ../scripts/getcfg.sh:/sbin/getcfg:ro
- ../scripts/getsysinfo.sh:/sbin/getsysinfo
- ../scripts/get_hwsn.sh:/sbin/get_hwsn
- ../scripts/getsysinfo.sh:/sbin/getsysinfo:ro
- ../scripts/get_hwsn.sh:/sbin/get_hwsn:ro

View File

@@ -1,6 +1,6 @@
#!/bin/sh
case "$1" in
"RoonServer") echo $ROONMNT_DIR
"RoonServer") echo $ROON_QNAP_MNT_DIR
;;
"system") echo $QNAP_QTS_VER
;;