Installation
MusicOrbit ships as a single-container multi-architecture Docker image (linux/amd64 and linux/arm64) published to GitHub Container Registry (ghcr.io/musicorbit/musicorbit). It bundles the Fastify API, React web UI, and ffmpeg on port 4410 — no git clone or local build required.
Docker Compose (Recommended)
Section titled “Docker Compose (Recommended)”1. Create docker-compose.yml
Section titled “1. Create docker-compose.yml”Create a new folder on your server and save the following docker-compose.yml:
services: musicorbit: image: ghcr.io/musicorbit/musicorbit:latest container_name: musicorbit restart: unless-stopped ports: - "4410:4410" environment: PORT: "4410" MUSIC_DIR: /music DATA_DIR: /data DOWNLOADS_DIR: /downloads AUTH_ENABLED: "true" FETCH_ARTIST_IMAGES: "true" AUTO_IMPORT_THRESHOLD: "85" volumes: - ./music:/music - ./data:/data - ./downloads:/downloadsPoint ./music to your existing audio collection (or leave it empty if you plan to upload music through the browser).
2. Start MusicOrbit
Section titled “2. Start MusicOrbit”docker compose up -dOpen http://localhost:4410 in your browser to complete First-Run Setup.
Updating MusicOrbit
Section titled “Updating MusicOrbit”Pull the newest published image and recreate the container — your database, settings, and music files stay safely in ./data and ./music:
docker compose pull && docker compose up -dAvailable image tags
Section titled “Available image tags”| Tag | Description |
|---|---|
latest |
Latest stable release (or latest build on main) |
vX.Y.Z / X.Y |
Pinned semantic version (e.g., 0.1.0, 0.1) |
edge |
Bleeding-edge build from every push to main |
Optional: Start with bundled slskd
Section titled “Optional: Start with bundled slskd”MusicOrbit works completely standalone without Soulseek. If you also want the optional bundled slskd daemon, download the full docker-compose.yml from GitHub, add your credentials to a local .env file, and enable the soulseek profile:
docker compose --profile soulseek up -dSee Soulseek (slskd) Integration for configuration details.
Local / Build From Source
Section titled “Local / Build From Source”Want to contribute or run bare-metal without Docker?
Prerequisites
Section titled “Prerequisites”- Node.js 22+ and npm
- Optional:
ffmpeginstalled inPATH(for lossless ALAC → FLAC transcoding on Linux/Windows; macOS automatically falls back to built-in/usr/bin/afconvertifffmpegis absent)
# 1. Clone the repositorygit clone https://github.com/musicorbit/musicorbit.gitcd musicorbit
# 2. Install dependencies across all workspacesnpm install
# 3. Copy the example environment file and edit paths as neededcp .env.example .env
# 4. Start the API (:4410) and Web UI (:5173) in watch modenpm run devOpen http://localhost:5173 in your browser.
Production build (bare-metal)
Section titled “Production build (bare-metal)”npm run buildWEB_DIST_DIR=./apps/web/dist node apps/api/dist/index.jsHealth check
Section titled “Health check”MusicOrbit exposes a lightweight health endpoint at GET /api/health (used automatically by the Docker HEALTHCHECK) returning service status, version, and database availability.