first changes to docker
This commit is contained in:
21
QPKG/shared/docker/qnap.yml
Executable file
21
QPKG/shared/docker/qnap.yml
Executable file
@@ -0,0 +1,21 @@
|
||||
services:
|
||||
qnap-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 folder as read-only
|
||||
- /share:/share:ro
|
||||
# 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
|
||||
- ./getcfg.sh:/sbin/getcfg:ro
|
||||
- ./getsysinfo.sh:/sbin/getsysinfo
|
||||
- ./get_hwsn.sh:/sbin/get_hwsn
|
||||
Reference in New Issue
Block a user