Your music, everywhere, self-hosted streaming with a web player, OpenSubsonic and one Rust binary.
1.2K
Your music, everywhere you listen. A self-hosted music server in one Rust binary, with a web player built in and the OpenSubsonic API your apps already speak.

Point it at the folders where your music lives. It builds your library, streams it to your browser, your phone and your desktop, and converts on the fly when the connection is tight. No PostgreSQL, no Redis, no identity provider required: one container, one database file, one key file.
Clips folder, plays in place of the cover, in the web player and the WaveFlow desktop app.| Tag | What it is |
|---|---|
2.4.0 | This release, pinned. Recommended. |
latest | The latest stable release. |
beta | The latest pre-release. |
Each image is built for linux/amd64 and linux/arm64, which includes a Raspberry Pi 4 or 5 on a 64-bit system. The same image, digest for digest, is on GitHub Container Registry as ghcr.io/instazdll/waveflow-server.
docker run -d --name waveflow \
--restart unless-stopped \
-p 4533:4533 \
-v waveflow-data:/data \
-v /path/to/music:/music:ro \
instazdll/waveflow-server:2.4.0
Then open http://your-host:4533. The setup screen creates the administrator account and asks for the one-time token the server wrote to its data directory:
docker exec waveflow cat /data/setup-token
Setup also registers /music as the administrator's first library, Music, and starts its scan, so the player opens on your albums. To add another folder later, mount it and register it under that account (admin here):
docker exec waveflow waveflow-server library add --owner admin --name Live --path /live
services:
waveflow:
image: instazdll/waveflow-server:2.4.0
restart: unless-stopped
ports:
- "4533:4533"
environment:
WAVEFLOW_PUBLIC_URL: "" # https://music.example.com behind a proxy
volumes:
- waveflow-data:/data
- /path/to/music:/music:ro
volumes:
waveflow-data:
Subsonic apps use a dedicated password, separate from the web one:
docker exec -e WAVEFLOW_SUBSONIC_PASSWORD='a-different-app-password' \
waveflow waveflow-server credential set --actor admin --username admin
On your own network, point the app at http://your-host:4533 with that username and password.
The server speaks plain HTTP, and Subsonic apps send their credentials with every request. -p 4533:4533 publishes it on every interface of the host, which suits a network you trust and nothing wider. To listen from outside, put a reverse proxy that terminates TLS in front, and:
-p 127.0.0.1:4533:4533;http://waveflow:4533;WAVEFLOW_PUBLIC_URL to the https:// address, and WAVEFLOW_TRUSTED_PROXIES to the proxy's address or network so each client keeps its own sign-in budget.Or start from the ready-made setup: packaging/caddy/ runs the server behind Caddy, which fetches and renews the certificate itself, through ACME for a public name (Let's Encrypt, with ZeroSSL as fallback) or from its own local authority for a name on your network. It publishes no port for the server and already trusts the proxy. The operations guide covers both certificates and how to move a server you already run onto it without losing its data.
| What | Detail |
|---|---|
| Port | 4533 (HTTP) |
/data | The database, its instance key, artwork, canvases, podcast episodes and transcode cache. A named volume, or a folder of the host: the container takes it over at start (see below). |
/music | Your music, mounted read-only and never touched. It must be readable by the server's account, UID 4533 unless you change it. |
| User | The container starts as root, gives /data to waveflow (UID and GID 4533), then runs the server as that account. docker exec … waveflow-server steps down the same way. |
| Health check | GET /ready, built into the image |
| Logs | JSON on stdout (WAVEFLOW_LOG_FORMAT=json); level through RUST_LOG |
| FFmpeg | Included |
On Fedora, RHEL and other SELinux systems, Podman (or Docker with SELinux enabled) refuses the container a host folder that is not labelled for containers: /music answers Permission denied, whatever its Unix permissions, and the scan fails. Mount it with a lowercase z, -v /path/to/music:/music:ro,z, which relabels the folder for containers without rewriting any file. Not an uppercase Z, which keeps the folder to this container alone, and never on a system folder or the whole of /home: the new label replaces the old one, so a folder Samba already shares, for instance, stops being readable by Samba. The waveflow-data volume needs nothing.
A data folder the host provides (Home Assistant, a NAS share, a bind mount made by root) works as it is since 2.2.2: at each start, the container gives what in /data is not yet the account's to it, and changes nothing on later starts. It leaves alone anything mounted inside /data, hard links and the targets of symbolic links, and does not take over a /data reached through a link. WAVEFLOW_UID and WAVEFLOW_GID (both 4533) name another account, for files that must belong to a NAS user; 0 keeps root, for rootless Podman. --user runs the server as the account you give and skips the hand-over, so the folder must already be writable by it.
| Variable | Default | What it does |
|---|---|---|
WAVEFLOW_PUBLIC_URL | empty | The address users reach, so share links come out absolute |
WAVEFLOW_TRUSTED_PROXIES | empty | Your reverse proxy's address or CIDR block |
WAVEFLOW_ALLOWED_ORIGINS | empty | Browser-hosted clients such as Feishin's web build, listed explicitly |
WAVEFLOW_SETUP_TOKEN | generated | Choose the first-run token yourself, 16 characters at least |
WAVEFLOW_METADATA_PROVIDERS | off | lastfm, deezer, theaudiodb: biographies, portraits, banners. Last.fm and TheAudioDB need your own key |
WAVEFLOW_LYRICS_PROVIDERS | off | lrclib fetches lyrics for files that have none |
WAVEFLOW_PODCASTS | off | on turns podcasts on |
WAVEFLOW_OIDC_ISSUER, WAVEFLOW_OIDC_CLIENT_ID, WAVEFLOW_OIDC_CLIENT_SECRET | off | Sign-in through an OpenID Connect provider. WAVEFLOW_OIDC_ONLY=true makes it the only way in; the operations guide has the rest |
WAVEFLOW_SUBSONIC_ENABLED | true | false stops serving /rest, for an instance used only from the web player and the desktop app |
WAVEFLOW_UPDATE_CHECK | ask | The first administrator to sign in is asked whether the server may check download.waveflow.app for new versions; nothing is sent before a yes. on or off decides for everyone and nobody is asked |
Every setting, and what each optional feature contacts, is in the operations guide and the privacy guide.
waveflow.db and instance.key in /data belong together: the Subsonic passwords and scrobbling links in the database are sealed with that key, and the server refuses a mismatched pair. Back up the whole /data volume, or take the pair with:
docker exec waveflow waveflow-server database backup --output /data/backup-$(date +%F)
To upgrade, pull the new tag and start it on the same volume. The server copies the database and its key aside before it migrates, so a failed upgrade can be rolled back from that copy. An older version refuses a database a newer one has migrated, so going back from 2.4.0 to 2.3.0 is that restore, not a pull: the 2.4.0 notes say how.
Once the update check is on, an administrator is told in the web player when a new version is out.
AGPL-3.0-only. It runs as a network service, so anyone you serve it to is entitled to its source, and the sign-in page links to the source of the exact version running.
docker pull instazdll/waveflow-server:latest