Self-hosted app·Music, media and game libraries
Mopidy hosting
on a dedicated server in Panama City.
Mopidy hosting on an EPYC dedicated server in Panama City: Mopidy 4.0.5 on Debian 13, Snapcast output, Docker setup, sizing and costs from $64.99/mo.
- Python
- rclone
- Debian
- Docker
PTY1·Panama City
In stockRecommended for this use case
- 10 Gbps portunmetered traffic, fair useIncluded
- Debian 13preinstalled with the orderIncluded
- DDoS protection, 1 IPv4KVM console and full rootIncluded
Optional: NVMe +$10 per 2 TB, up to 12 TB · 25 Gbps port +$25 · 32 GB memory +$12
Pay quarterly for 10% less, yearly for 25% less
- No KYC
- Crypto only
- Panama jurisdiction
- 6 cores, 12 threads AMD EPYC 4244P
- 1 TB NVMe, up to 12 TB
- 10 Gbps port, unmetered traffic
- DDoS protection included
- Panamanian law
01/06
Short answer.
Yes, you can host Mopidy with us in PTY1, Panama City. For a setup built around your own music files we recommend the Iron dedicated server at $64.99 a month, with a 1 TB object-storage bucket at $7.96 for the copy of the library that does not live on the server; if all you play is Spotify and internet radio, a $6.99 Cloud VPS does the job and we would rather say so than sell you a machine. The decision that matters most comes before the order. A server in a rack has no speakers, so you must choose where the audio goes (in practice Snapcast, feeding a small player at home), and you must keep Mopidy's control ports off the public internet, because its HTTP API has no authentication of any kind.
02/06
What Mopidy is
and who runs it.
Mopidy is a music server written in Python, and it has no interface of its own. It holds the library and the playback queue, and clients drive it over the MPD protocol through the mopidy-mpd extension on port 6600, or over the JSON-RPC and WebSocket API of the bundled HTTP extension on port 6680. Music sources are extensions: Mopidy-Local for files on disk, Mopidy-Spotify for a Spotify account, the bundled stream backend for radio. Audio leaves through a GStreamer pipeline, which is why a headless machine with no sound card is an ordinary place to run it: the output can just as well be a named pipe or a network encoder.
The project has been led since 2009 by Stein Magnus Jodal, with volunteer contributors. Mopidy 4.0 shipped on 25 April 2026 after a long gap between releases; it changes little for listeners and a great deal underneath, with Python 3.13 and GStreamer 1.26.2 as minimums because those are the versions in Debian 13. The current release is 4.0.5, dated 16 October 2026, and its single change explains why this page is strict about ports: until then, any client of the unauthenticated JSON-RPC API could read the tags of any audio file the Mopidy process could reach, whether or not it sat in a configured music folder. The twelve extensions in the Mopidy organisation received matching major releases, among them the first stable Mopidy-Spotify 5.0, which plays through gst-plugin-spotify and works only with Spotify Premium.
People who move Mopidy off a Raspberry Pi and onto a remote server usually want the library somewhere other than a NAS in the hallway, with one queue reachable from every phone in the house and from work, or one playback source feeding Snapcast players in more than one place. Both work from Panama City, and neither needs much processor: what you size for is disk.
Our servers are in Panama City and answer to Panamanian law. A US DMCA notice has no legal effect here, and we act only on valid orders from competent Panamanian authorities.
03/06
Requirements and sizing.
Mopidy plays one stream at a time. Its CPU cost is GStreamer decoding a FLAC or MP3 file and, when it feeds Snapcast, resampling to 48 kHz; the only time it works hard is the first scan of a large local library.
| Port | Service | Where it should be reachable |
|---|---|---|
| 6680/tcp | Mopidy HTTP, JSON-RPC and WebSocket (bound to 127.0.0.1 by default) | WireGuard only, or behind an HTTPS proxy that authenticates |
| 6600/tcp | Mopidy MPD (bound to 127.0.0.1 by default) | WireGuard only |
| 1704, 1705, 1780/tcp | Snapcast audio, control, and HTTP with Snapweb | WireGuard only |
| 8000/tcp | Icecast, only if you use it | Public, if publishing a stream is the point |
| 51820/udp | WireGuard | Public |
The plan follows from where your music comes from and how much of it there is:
| What you run | Plan | Price per month |
|---|---|---|
| Spotify and radio only, no local files | Cloud VPS Starter: 2 vCPU, 2 GB RAM, 80 GB NVMe, 10 TB transfer | $6.99 |
| MP3 or AAC library up to about 250 GB | Cloud VPS Pro: 6 vCPU, 8 GB RAM, 320 GB NVMe, 20 TB transfer | $22.99 |
| Library up to about 550 GB | Cloud VPS Power: 12 vCPU, 16 GB RAM, 640 GB NVMe, 40 TB transfer | $42.99 |
| FLAC library up to about 1 TB, or Mopidy beside other services | Iron: EPYC 4244P, 6 cores/12 threads, 32 GB DDR5 ECC, 1 TB NVMe Gen4, 10 Gbps unmetered under fair use | $64.99 |
| Library beyond 1 TB | Iron with +2 TB NVMe per step ($10/mo each, up to 12 TB) | $74.99 for 3 TB |
At one terabyte of local disk, the Iron dedicated server is a dollar cheaper than the Ultra Cloud VPS ($65.99 for 16 vCPU, 32 GB and 1 TB with 60 TB of transfer), its cores are not shared with other customers, and traffic is unmetered under fair use rather than counted against a monthly allowance. That is why it is our recommendation once a real FLAC collection is involved. As a theoretical guide, a CD-quality FLAC album weighs around 300 MB, so 1 TB holds roughly 3,000 albums; at 320 kbit/s MP3 the same disk holds about three times as many.
Transfer is rarely the constraint for personal listening. Theoretically, an uncompressed 48 kHz, 16-bit stereo stream runs at 1,536 kbit/s, the ceiling for what Snapcast sends before FLAC compression, which is about 690 MB an hour; four hours a day for thirty days comes to roughly 83 GB. A 192 kbit/s MP3 stream played around the clock is about 62 GB a month per listener. The Starter's 10 TB covers either many times over. What does take time is the first upload: theoretically, 1 TB over a 100 Mbit/s home connection needs about 22 hours, and no port on our side can shorten that.
04/06
How to deploy it
with us.
Order the Iron with Debian 13 through this deploy link; a dedicated server is ready in under 15 minutes with your SSH keys in place. Before installing anything, restrict inbound traffic to 22/tcp and 51820/udp with nftables on the host, then bring up WireGuard. In the examples below the server is 10.66.0.1 on wg0. If a firewall rule locks you out, the KVM console in the panel still reaches the machine.
Install Mopidy with its MPD and Local extensions, plus Debian's Snapcast server:
sudo apt install wget
sudo mkdir -p /etc/apt/keyrings
sudo wget -q -O /etc/apt/keyrings/mopidy-archive-keyring.gpg \
https://apt.mopidy.com/mopidy-archive-keyring.gpg
sudo wget -q -O /etc/apt/sources.list.d/mopidy.sources \
https://apt.mopidy.com/trixie.sources
sudo apt update
sudo apt install mopidy mopidy-mpd mopidy-local snapserver
mopidy deps | head -n 4 # shows the Mopidy and Python versions you gotCreate the pipe that Mopidy writes into and Snapcast reads from. Keeping it out of /tmp avoids the fs.protected_fifos restriction that Snapcast's documentation warns about on recent kernels:
sudo install -d -m 0755 /srv/snapfifo
sudo mkfifo -m 0666 /srv/snapfifo/snapfifoThen /etc/mopidy/mopidy.conf:
[audio]
output = audioresample ! audioconvert ! audio/x-raw,rate=48000,channels=2,format=S16LE ! filesink location=/srv/snapfifo/snapfifo
[http]
hostname = 10.66.0.1
[mpd]
hostname = 10.66.0.1
password = replace-with-a-long-random-string
[local]
media_dir = /srv/music
[file]
media_dirs = /srv/music|MusicAnd /etc/snapserver.conf:
[stream]
source = pipe:///srv/snapfifo/snapfifo?name=Mopidy&mode=read&sampleformat=48000:16:2
[http]
doc_root = /usr/share/snapserver/snapwebBecause Mopidy binds to the WireGuard address, it has to start after wg0 exists. Run sudo systemctl edit mopidy and add a [Unit] section with After= and Wants= both set to wg-quick@wg0.service, then sudo systemctl enable --now mopidy snapserver, and once the music is in place, sudo mopidyctl local scan. We leave Snapserver on its default listeners and let the firewall keep them private rather than binding them in its config: Debian 13 packages Snapcast 0.28, later upstream releases renamed the sections that hold the network listeners, and a config copied from current documentation can fail on the packaged version.
At home, a Raspberry Pi or a laptop on the same WireGuard network runs snapclient --host 10.66.0.1 and plays whatever Mopidy plays. Control comes from any MPD client, such as ncmpcpp or mpc, pointed at 10.66.0.1:6600 with the password, or from a web client on port 6680. Iris, the most complete web client and one that can also act as a Snapcast player in the browser, is a third-party extension whose latest release is 3.70.0; check it against Mopidy 4.0 before you rely on it.
For the library, keep the working copy on the server's NVMe and the master in an S3 bucket in PTY1. With an rclone remote set up from the bucket's endpoint and access keys, rclone sync pty1:music /srv/music pulls the collection down, and the same command reversed pushes new albums up. The bucket is reached through rclone, restic or any S3 client; it is never a disk you format or attach. A library too large for local disk can be served through rclone mount --read-only with a VFS cache, but expect the first Mopidy-Local scan through it to be slow, since every file has to be opened for its tags.
- 01
With Docker
Mopidy's installation guide covers system packages and pip, not containers, and the Mopidy images on Docker Hub are community builds, several of them untouched for years. We build our own from Debian 13 and apt.mopidy.com, so the version in the container is the one
mopidy depswould report on the host.# mopidy/Dockerfile FROM debian:trixie-slim RUN apt-get update \ && apt-get install -y --no-install-recommends ca-certificates wget \ && mkdir -p /etc/apt/keyrings \ && wget -q -O /etc/apt/keyrings/mopidy-archive-keyring.gpg https://apt.mopidy.com/mopidy-archive-keyring.gpg \ && wget -q -O /etc/apt/sources.list.d/mopidy.sources https://apt.mopidy.com/trixie.sources \ && apt-get update \ && apt-get install -y --no-install-recommends mopidy mopidy-mpd mopidy-local \ gstreamer1.0-plugins-base gstreamer1.0-plugins-good \ && (getent passwd mopidy || useradd --system --home-dir /var/lib/mopidy mopidy) \ && install -d -o mopidy /var/lib/mopidy /var/cache/mopidy \ && rm -rf /var/lib/apt/lists/* USER mopidy CMD ["mopidy", "--verbose", "--config", "/usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf"]# snapserver/Dockerfile FROM debian:trixie-slim RUN apt-get update \ && apt-get install -y --no-install-recommends snapserver \ && rm -rf /var/lib/apt/lists/* CMD ["snapserver", "-c", "/etc/snapserver.conf"]# compose.yaml services: mopidy: build: ./mopidy restart: unless-stopped volumes: - ./mopidy.conf:/etc/mopidy/mopidy.conf:ro - /srv/music:/srv/music:ro - /srv/snapfifo:/srv/snapfifo - mopidy-data:/var/lib/mopidy - mopidy-cache:/var/cache/mopidy ports: - "10.66.0.1:6680:6680" - "10.66.0.1:6600:6600" snapserver: build: ./snapserver restart: unless-stopped volumes: - ./snapserver.conf:/etc/snapserver.conf:ro - /srv/snapfifo:/srv/snapfifo ports: - "10.66.0.1:1704:1704" - "10.66.0.1:1705:1705" - "10.66.0.1:1780:1780" volumes: mopidy-data: mopidy-cache:Two details differ from the native install. Inside the container, set
hostname = ::in both the[http]and[mpd]sections, since the container has its own network namespace and the binding to 10.66.0.1 now happens underports:. That binding is not optional: Docker writes published ports into its own firewall rules, ahead of the host's input chain, so a bare"6680:6680"would put the API on the public address whatever nftables says. Order the Docker service afterwg-quick@wg0.servicefor the same reason as Mopidy above, and run the scan withdocker compose exec mopidy mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf local scan. - 02
If you want an Icecast stream instead
Mopidy can encode to MP3 or Ogg Vorbis and push to Icecast through GStreamer's
shout2send, which lets a browser or a phone listen with no Snapcast client at all. Mopidy's own guide still carries a warning thatshout2sendstopped working with libshout releases after 2.4.1, and points to Snapcast instead. Debian 13, like every Debian release since Bullseye, ships a later libshout, so treat this route as unproven until you have tried it.
05/06
Cost.
| Item | Per month |
|---|---|
| Iron dedicated server | $64.99 |
| Object storage, 1 TB | $7.96 |
| Total | $72.95 |
The Iron price includes the 10 Gbps port with unmetered traffic under fair use, DDoS protection, one IPv4 address, the KVM console, full root, DDR5 ECC memory and NVMe Gen4 storage. Paying for the server quarterly takes 10 % off ($175.47 a quarter) and yearly takes 25 % off ($584.91 a year, about $48.74 a month). The bucket is billed by size alone, with no request fees and no charge for traffic in either direction. The options worth knowing here are extra NVMe at $10 a month per 2 TB, an extra IPv4 at $2 and priority support at $10.
Payment is in cryptocurrency only (BTC, ETH, XMR, USDT, USDC and seven other coins), against a balance kept in US dollars. Top-ups run from $25 to $5,000, with a bonus of 5 % from $50 rising to 20 % from $500, and the unused paid part of a top-up is refundable within 14 days. The account itself is no-KYC: an email address is enough. Every plan and option is on the pricing page.
06/06
Limits and acceptable
use.
Streaming and media servers are explicitly welcome under our acceptable use policy, and the music in your own library is your own affair within Panamanian law, which is the law your server runs under in PTY1. A DMCA notice has no legal effect on servers in Panama. We forward copyright complaints to the customer and act on a decision of a competent Panamanian authority, or where the content is manifestly unlawful. Our answer on DMCA notices covers how that works in practice, and the offshore hosting page sets out what Panamanian jurisdiction does and does not give you.
Publishing is what changes the picture. Listening to your own files, alone or with your household, is private use; a public Icecast mount playing music you hold no rights to is broadcasting, which needs licences in the countries where your listeners are, and complaints about it will reach you through us. If a public station is the goal, use software built for one and budget for the licences; our AzuraCast guide covers that case. Spotify draws its own line more tightly. Its terms allow personal, non-commercial use only, so relaying a Premium account to an audience falls outside them whatever server it runs on. Spotify also ties an account to the country where it was opened and treats use elsewhere as travel; a server streaming from a Panamanian address every day is a case its help pages do not describe, so try it with your own account before you build on it.
The other obligation is security. Our policy treats a server taken over by someone else as if you ran it until you have cleaned it, and a Mopidy API on a public address is an unauthenticated control panel for whoever finds it. Keep 6680 and 6600 behind WireGuard, keep the MPD password set even there, and let apt upgrade bring in Mopidy releases from apt.mopidy.com as they appear; 4.0.5 was a security fix, and the next one will arrive the same way.
Catalogue·Options
Every configuration, every option, every price.
Six dedicated servers, all with a 10 Gbps port and unmetered traffic. Add NVMe, memory, a faster port or more addresses when you order.
| Server | CPU | Cores / threads | Memory | Storage | Port, traffic | Price | Order |
|---|---|---|---|---|---|---|---|
| IronRecommendedEntry level | EPYC 4244P | 6 / 12 | 32 GB DDR5 | 1 TB NVMe | 10 Gbps unmetered | $64.99/mo | Order Iron |
| SteelBalanced | EPYC 4344P | 8 / 16 | 64 GB DDR5 | 2 TB NVMe | 10 Gbps unmetered | $84.99/mo | Order Steel |
| ChromeMore cores | EPYC 4464P | 12 / 24 | 64 GB DDR5 | 3 TB NVMe | 10 Gbps unmetered | $109.99/mo | Order Chrome |
| CobaltHigh frequency | EPYC 4564P | 16 / 32 | 96 GB DDR5 | 4 TB NVMe | 10 Gbps unmetered | $139.99/mo | Order Cobalt |
| TungstenLarge memory | EPYC 4584PX | 16 / 32 | 128 GB DDR5 | 6 TB NVMe | 10 Gbps unmetered | $164.99/mo | Order Tungsten |
| TitanMaximum density | EPYC 9254 | 24 / 48 | 192 GB DDR5 | 8 TB NVMe | 10 Gbps unmetered | $219.99/mo | Order Titan |
NVMe can be added in 2 TB steps up to 12 TB.
Every plan
- 10 Gbps port25 Gbps for $25 more
- Unmetered trafficfair use, no per-TB bill
- DDoS protectionalways on
- 1 IPv4 addressmore at $2 each
- KVM consoleand full root access
FAQ
Questions
people ask first.
Short answers about running this in PTY1. If yours is not here, open a ticket from your panel.
Is there an official Mopidy Docker image?
No. Mopidy's installation guide documents system packages and pip only, and the images on Docker Hub are community builds, several not updated in years, which matters for software that has just had a security release. The Dockerfile above builds from debian:trixie-slim and apt.mopidy.com in a dozen lines and gives you a version you can name.
Can I listen in a browser without installing anything at home?
Only through a stream. Icecast is the classic route, if shout2send works on your build; the other is a web client such as Iris acting as a Snapcast player in the browser. Snapcast on its own expects a snapclient on the listening device, and builds exist for Linux, Windows and Android.
Does Mopidy-Spotify work from a server in Panama?
Technically, yes: Mopidy-Spotify 5.0 and gst-plugin-spotify are packaged on apt.mopidy.com for amd64, and you authorise the extension through mopidy.com to get its client ID and secret. It needs Premium, it is limited to personal, non-commercial use, and Spotify will see a Panamanian IP address, which raises the account-country question above.
Can Mopidy-Local read the library straight from object storage?
It can, through rclone mount --read-only with a VFS cache, which suits a read-mostly media library, but scans are slow and playback depends on the cache. On an Iron the better arrangement is the library on local NVMe and the master copy in the bucket, kept in step with rclone sync. The bucket speaks S3; there is no block device to format.
Why recommend a dedicated server for something this light?
Because of disk, not processor. A Spotify-and-radio setup fits the $6.99 Starter VPS, and a library under about 550 GB fits the $42.99 Power VPS. As the library approaches a terabyte, the Iron costs less than a VPS with the same disk and adds unmetered traffic, cores of its own and room for whatever else reads the same files, such as a Jellyfin or Plex server.
Do I have to identify myself to order?
No. We are no-KYC: an email address is enough to open an account, and payment is in cryptocurrency, for business customers as well as individuals.
Sources
Every fact on this page, with its source
Industry, providers and software
- docs.mopidy.comdocs.mopidy.com
- tracker.debian.orgtracker.debian.org
- github.comgithub.com
- github.comgithub.com
- github.comgithub.com
- packages-picconi.debian.orgpackages-picconi.debian.org
- Iris README: Snapcast integrationIris README: Snapcast integration
Other references
- docs.mopidy.comdocs.mopidy.com
- mopidy.commopidy.com
- docs.mopidy.comdocs.mopidy.com
- docs.mopidy.comdocs.mopidy.com
- docs.mopidy.comdocs.mopidy.com
- pypi.orgpypi.org
- support.spotify.comsupport.spotify.com
- support.spotify.comsupport.spotify.com
- Panama Host acceptable use policyPanama Host acceptable use policy
Your server in Panama,
ready when you are.
Cloud VPS start at $6.99 a month and are ready 60 to 120 seconds after you order.