Install with Docker

Run yamsap as one container on a NAS, a mini PC or a Raspberry Pi, with your music and its data in two folders you choose.

Where It Runs

The image is for Linux machines on the same network as your speakers: a NAS, a mini PC, or a 64-bit ARM board such as a Raspberry Pi. It is built for Intel and AMD processors (amd64) and for ARM (arm64).

Each NAS system has a guide of its own: Synology, QNAP, Unraid and TrueNAS.

It does not work in Docker Desktop on a Mac or on Windows. Docker Desktop runs containers inside a virtual machine, which cannot see the speakers on your network. On a Mac, use the Mac app.

The Compose File

Save this as compose.yaml in a folder of its own, and change /path/to/music to where your music is:

services:
  yamsap:
    image: cr.yamsap.com/yamsap:latest
    network_mode: host
    volumes:
      - /path/to/music:/music
      - ./yamsap-data:/data
      - /etc/localtime:/etc/localtime:ro
    restart: unless-stopped

Then start it:

docker compose up -d

Open http://<the machine's address>:8095 in a browser on the same network to finish setting up. When setup asks for your music folder, choose /music.

What Each Line Is For

  • network_mode: host is required. Yamsap finds speakers by listening on your network, and each zone and each AirPlay speaker uses ports of its own. None of that works through Docker's default network.
  • /music is your music folder.
  • /data holds yamsap's database, its settings and your license activation. Keep it when you update or recreate the container.
  • /etc/localtime gives the container your time zone.

With host networking, the container's port is the machine's port. The image listens on 8095.

Your License Key

Paste the key on the setup screen. On a machine with no screen to hand, set it in the compose file instead and yamsap activates it when it starts:

environment:
  - YAMSAP_LICENSE_KEY=your-key

The activation is stored in /data, so updating the container keeps it. See License key and activation.

Update

docker compose pull
docker compose up -d

latest moves to each new release. To choose when you update, name a version instead:

TagWhat you get
latestThe newest release
0.3The newest 0.3.x release
0.3.1That release and no other
betaThe newest test release

Go Back to an Older Version

Change the image line to the version you were on, such as cr.yamsap.com/yamsap:0.3.1, and run docker compose up -d again.

Logs

docker compose logs yamsap

The image reports its own health, so docker ps shows healthy once the server is answering.