fix Roon ID
This commit is contained in:
@@ -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.
|
# Set value to 1 means to open the QPKG's Web UI inside QTS desktop instead of new window.
|
||||||
QPKG_DESKTOP_APP=1
|
QPKG_DESKTOP_APP=1
|
||||||
# Desktop Application Window default inner width (since 4.1) (not over 1178)
|
# 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)
|
# Desktop Application Window default inner height (since 4.1) (not over 600)
|
||||||
QPKG_DESKTOP_APP_WIN_HEIGHT="600"
|
QPKG_DESKTOP_APP_WIN_HEIGHT="600"
|
||||||
|
|
||||||
|
|||||||
@@ -1,22 +1,25 @@
|
|||||||
services:
|
services:
|
||||||
roonserver:
|
roonserver:
|
||||||
environment:
|
environment:
|
||||||
- "ROON_ID_DIR=/Roon/id"
|
|
||||||
# these vars are used by the (fake) qnap scripts
|
|
||||||
- "QNAP_MODEL=${QNAP_MODEL:-Docker}"
|
- "QNAP_MODEL=${QNAP_MODEL:-Docker}"
|
||||||
- "QNAP_SERIAL=${QNAP_SERIAL:-NoSerial}"
|
- "QNAP_SERIAL=${QNAP_SERIAL:-NoSerial}"
|
||||||
- "QNAP_QTS_VER=${QNAP_QTS_VER:-System}"
|
- "QNAP_QTS_VER=${QNAP_QTS_VER:-System}"
|
||||||
- "ROON_QNAP_MNT_DIR=/Roon"
|
- "ROON_QNAP_MNT_DIR=/Roon"
|
||||||
|
- "ROON_ID_DIR=/Roon/id"
|
||||||
volumes:
|
volumes:
|
||||||
# mount all disks and shared folders
|
# mount all disks and shared folders
|
||||||
- /share:/share
|
- /share:/share
|
||||||
|
|
||||||
# mount database folder
|
# mount database folder
|
||||||
- ${ROON_DATAROOT:-/dev/null}:/Roon/data
|
- ${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 id from app dir
|
||||||
|
- ${QPKG_ROOT}/id:/Roon/id
|
||||||
|
|
||||||
# mount qnap configfiles
|
# mount qnap configfiles
|
||||||
- /etc/config/qpkg.conf:/etc/config/qpkg.conf:ro
|
- /etc/config/qpkg.conf:/etc/config/qpkg.conf:ro
|
||||||
- /etc/os-release:/etc/os-release:ro
|
- /etc/os-release:/etc/os-release:ro
|
||||||
|
|
||||||
# fake qnap binaries, that are used to identify host as qnap
|
# fake qnap binaries, that are used to identify host as qnap
|
||||||
- ../scripts/getcfg.sh:/sbin/getcfg:ro
|
- ../scripts/getcfg.sh:/sbin/getcfg:ro
|
||||||
- ../scripts/getsysinfo.sh:/sbin/getsysinfo:ro
|
- ../scripts/getsysinfo.sh:/sbin/getsysinfo:ro
|
||||||
|
|||||||
Reference in New Issue
Block a user