Install on a Synology NAS
Run yamsap as a project in Container Manager, with your music shared folder mounted and the NAS's own network, so yamsap can find your speakers.
What You Need
- DSM 7.2 or later, with Container Manager installed from Package Center.
- A model that can run Container Manager. Package Center offers it only on models that can.
- Your music in a shared folder, such as
music. - A license key.
Make a Folder for yamsap
- Open File Station.
- Open the
dockershared folder. Container Manager made it when it installed. - Create a folder in it named
yamsap, and a folder inside that nameddata.
Container Manager keeps the project's settings in docker/yamsap. Yamsap keeps its database, its settings and your license activation in docker/yamsap/data.
Create the Project
-
Open Container Manager and choose Project, then Create.
-
Set Project Name to
yamsap. -
Press Set Path and choose the
docker/yamsapfolder you just made. -
Set Source to Create docker-compose.yml, and paste this into the box:
services: yamsap: image: cr.yamsap.com/yamsap:latest network_mode: host environment: - YAMSAP_SERVER_NAME=yamsap - YAMSAP_TIMEZONE=Europe/Berlin volumes: - /volume1/music:/music - /volume1/docker/yamsap/data:/data restart: unless-stopped -
Change
/volume1/musicto your music shared folder. To find its full path, right-click it in File Station and choose Properties. If yourdockerfolder is on another volume, change/volume1in the second path too. -
Change
Europe/Berlinto your time zone, written the same way, such asAmerica/New_YorkorAustralia/Sydney. -
Press Next, press Next again on the web portal settings without turning anything on, and press Done on the summary.
Container Manager 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 thedatafolder insidedocker/yamsap. Keep it when you update or rebuild the project.
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
Container Manager checks for new versions of images tagged latest. When yamsap has one, its Image page shows Update available beside cr.yamsap.com/yamsap. Press it. Your library and settings stay in docker/yamsap/data.
Something on this page wrong or missing? Write to hello@torontoaudio.company.