Install on a QNAP NAS
Run yamsap as an application in Container Station, with your music shared folder mounted and the NAS's own network, so yamsap can find your speakers.
What You Need
- QTS 5.1 or QuTS hero h5.1 or later, with Container Station 3 or later installed from App Center.
- A model with a 64-bit Intel, AMD or ARM processor.
- Your music in a shared folder, such as
Multimedia. - A license key.
Make a Folder for yamsap
- Open File Station.
- Open the
Containershared folder. Container Station made it when it installed. - Create a folder in it named
yamsap.
Yamsap keeps its database, its settings and your license activation in this folder.
Create the Application
-
Open Container Station and choose Applications, then Create.
-
Set Application Name to
yamsap. -
Paste this into the YAML box:
services: yamsap: image: cr.yamsap.com/yamsap:latest network_mode: host environment: - YAMSAP_SERVER_NAME=yamsap - YAMSAP_TIMEZONE=Europe/Berlin volumes: - /share/Multimedia/Music:/music - /share/Container/yamsap:/data restart: unless-stopped -
Change
/share/Multimedia/Musicto the folder that holds your music. A shared folder namedMusicis/share/Music, and a folder inside it adds its own name, as in/share/Music/Albums. -
Change
Europe/Berlinto your time zone, written the same way, such asAmerica/New_YorkorAustralia/Sydney. -
Press Validate, then Create.
Container Station downloads yamsap and starts it. The first download is about 1 GB.
Finish Setting Up
Open http://<your NAS's address>:8095 in a browser on the same network. Enter your license key, and when setup asks for your music folder, choose /music.
What the Settings Do
network_mode: hostputs yamsap on the NAS's own network connection. Yamsap finds speakers by listening on your network, and each zone and each AirPlay speaker uses ports of its own, so it does not work behind Docker's usual private network.YAMSAP_SERVER_NAMEis the name the server shows to apps on your network and in your license's list of activations.YAMSAP_TIMEZONEsets when a new day starts for daily mixes and the On This Day shelf./musicis your music folder. Yamsap writes to it only to save albums you drop onto its window, in ayamsapfolder inside it, and to delete an album when you ask it to./datais theContainer/yamsapfolder. Keep it when you update or recreate the application.
With host networking, port 8095 on the NAS is yamsap's. If another app already uses it, add - YAMSAP_ADDR=:8096 under environment and open that port instead.
Update
- In Container Station, open Images, choose Pull, and pull
cr.yamsap.com/yamsap:latest. - Open Applications, choose Recreate next to Edit for yamsap, and press Update.
Your library and settings stay in Container/yamsap.
Something on this page wrong or missing? Write to hello@torontoaudio.company.