From 4c8c1884682b7f8061ea7516e57eb8e509da8628 Mon Sep 17 00:00:00 2001 From: crieke Date: Mon, 13 Apr 2026 05:04:17 +0200 Subject: [PATCH] fix Roon ID --- QPKG/qpkg.cfg | 2 +- .../docker/compose/platform_specific.yml | 19 +++++++++++-------- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/QPKG/qpkg.cfg b/QPKG/qpkg.cfg index c55c4fe..b851cdb 100644 --- a/QPKG/qpkg.cfg +++ b/QPKG/qpkg.cfg @@ -45,7 +45,7 @@ QPKG_USE_PROXY="1" # Set value to 1 means to open the QPKG's Web UI inside QTS desktop instead of new window. QPKG_DESKTOP_APP=1 # Desktop Application Window default inner width (since 4.1) (not over 1178) -QPKG_DESKTOP_APP_WIN_WIDTH="500" +QPKG_DESKTOP_APP_WIN_WIDTH="900" # Desktop Application Window default inner height (since 4.1) (not over 600) QPKG_DESKTOP_APP_WIN_HEIGHT="600" diff --git a/QPKG/shared/docker/compose/platform_specific.yml b/QPKG/shared/docker/compose/platform_specific.yml index b53ced5..5f01e3f 100755 --- a/QPKG/shared/docker/compose/platform_specific.yml +++ b/QPKG/shared/docker/compose/platform_specific.yml @@ -1,23 +1,26 @@ 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}" - "ROON_QNAP_MNT_DIR=/Roon" + - "ROON_ID_DIR=/Roon/id" 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 + + # mount id from app dir + - ${QPKG_ROOT}/id:/Roon/id + + # mount qnap configfiles - /etc/config/qpkg.conf:/etc/config/qpkg.conf:ro - - /etc/os-release:/etc/os-release:ro - # fake qnap binaries, that are used to identify host as qnap + - /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:ro - - ../scripts/get_hwsn.sh:/sbin/get_hwsn:ro + - ../scripts/get_hwsn.sh:/sbin/get_hwsn:ro \ No newline at end of file