Self-host mStream on a VPS
A lightweight personal music streaming server with a web player and mobile apps.
levelrail-cli templates install mstream --name my-mstreamSpecification
- Status
- Listed
- Category
- Media
- Services
- mstream
- Ports
- 3000
- Volumes
- 2
- Memory
- about 256 MiB
- arm64
- unknown
- amd64
- unknown
- Settings to fill in
- none
- License
- Copyleft license, GPL-3.0-only
- Listing
- Community template
About mStream
A lightweight personal music streaming server with a web player and mobile apps.
What it deploys
mStream runs as one service in a single Compose app, listening on port 3000, with 2 named volume mounts.
| Service | Image | Tag | Ports | Volumes |
|---|---|---|---|---|
| mstream | lscr.io/linuxserver/mstream | 6.33.1 | 3000 | config -> /configmusic -> /music |
Before you install
- CPU architecture. arm64 unknown. The scan could not read a manifest or the tag is chosen at install time. This is not a claim either way.
- Listed. It is in the catalog. Back up the data volume before changing an image tag.
Settings and environment
You do not have to fill in anything. Values are never shown here.
| Service | Variable | Value |
|---|---|---|
| mstream | PGID | Preset by the template |
| mstream | PUID | Preset by the template |
| mstream | TZ | Preset by the template |
First run
- Create the admin account on first visit, then upload music into the music volume.
Install mStream on a VPS
-
Install Levelrail on a fresh VPS
Run this as root on a Linux server (amd64 or arm64) with ports 80 and 443 reachable. The installer prints a setup link.
curl -fsSL https://levelrail.com/install.sh | sudo sh -
Sign in
Open the setup link, choose a password, then log the CLI in. The CLI install command is
curl -fsSL https://levelrail.com/install-cli.sh | shif the machine does not have it. See Getting started.levelrail-cli login --device -
Read the template
Shows the entry, including its full compose.yaml.
levelrail-cli templates get mstream -
Install it
This template has an install form, so the CLI fills each setting from --env, a generated secret or its default.
levelrail-cli templates install mstream --name my-mstreamTo put a service behind a domain at install, add
--domain SERVICE=HOST:levelrail-cli templates install mstream --name my-mstream --domain mstream=mstream.example.com
Without a domain the app gets an sslip.io address. You can also deploy it from the dashboard: Apps, New app, Browse templates, then mStream.
Docs and upstream
More in Media
- NavidromeStream your own music collection from a Subsonic-compatible server to any device, anywhere.
- MeTubeA tidy web front end for yt-dlp: paste a link, pick a format, and download video or audio.
- NotifiarrClient for the Notifiarr service that relays notifications and syncs profiles for your media apps. The install form carries notifiarr.conf as an editable file and asks for your API key.
- NZBGetA fast, light Usenet downloader with a web interface and scripting support.
- ManyfoldA self-hosted manager for 3D printing model libraries with tags, previews and sharing, backed by Postgres and Redis. Create the first admin on first open.
- Lyrion Music ServerThe successor to Logitech Media Server, streaming your music to Squeezebox players and apps.