Install on TrueNAS
Run yamsap as a custom app on TrueNAS 24.10 or later, with your music dataset mounted and the NAS's own network, so yamsap can find your speakers.
What You Need
- TrueNAS 24.10 or later, with a pool chosen for apps. TrueNAS CORE cannot run yamsap.
- Your music in a dataset, such as
tank/music. - A license key.
Make a Dataset for yamsap
In Datasets, add a dataset named yamsap, for example under tank/apps. Yamsap keeps its database, its settings and your license activation there.
Install the App
-
Open Apps, then Discover Apps.
-
Open the ⋮ menu beside Custom App and choose Install via YAML.
-
Set Name to
yamsap. -
Paste this into Custom Config:
services: yamsap: image: cr.yamsap.com/yamsap:latest network_mode: host environment: - YAMSAP_SERVER_NAME=yamsap - YAMSAP_TIMEZONE=Europe/Berlin volumes: - /mnt/tank/music:/music - /mnt/tank/apps/yamsap:/data restart: unless-stopped -
Change
/mnt/tank/musicand/mnt/tank/apps/yamsapto your two datasets. A dataset's path is/mnt/followed by its name, as Datasets shows it. -
Change
Europe/Berlinto your time zone, written the same way, such asAmerica/New_YorkorAustralia/Sydney. -
Press Save.
TrueNAS downloads yamsap and starts it. The first download is about 1 GB.
Finish Setting Up
An app installed from YAML has no Web UI button, so open http://<your NAS's address>:8095 yourself, 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 dataset. 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 theyamsapdataset. Keep it when you update or reinstall the app.
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
TrueNAS watches for new versions of the images its apps use. When yamsap has one, Apps shows an update for it. Select yamsap and choose Update. Your library and settings stay in the yamsap dataset.
Something on this page wrong or missing? Write to hello@torontoaudio.company.