Maloja logo

Maloja

Self-hosted music scrobble database to create personal listening statistics

Alternative to: Last.fm

Maloja screenshot

About

Maloja is a simple self-hosted music scrobble database that creates personal listening statistics and charts without syncing your library to any public or official music database. It supports associated artists, multi-artist tracks, custom images, and a standard-compliant API so existing scrobbler apps and browser extensions can submit plays directly to your own server.

Maloja Docker Compose example

Self-host Maloja on your own server, homelab, or VPS starting from this Docker Compose example. It runs Maloja in Docker containers using the official krateng/maloja:latest image, with persistent volumes and automatic restarts preconfigured. Review the environment variables and adjust them to your setup, save the file as compose.yml (or docker-compose.yml), and start the stack with docker compose up -d.

services:
  maloja:
    image: krateng/maloja:latest
    restart: unless-stopped
    volumes:
      - data:/mljdata
    environment:
      # Directory inside the container where Maloja stores its config, database and images.
      MALOJA_DATA_DIRECTORY: "/mljdata"
      # Make the server setup non-interactive. Maloja will not start correctly in a container without this set.
      MALOJA_SKIP_SETUP: "true"
      # Admin password used to log in to the web interface and manage the server.
      MALOJA_FORCE_PASSWORD: "changeme"

volumes:
  data:

Values set to changeme are required — replace them with your own values before starting Maloja.

Prefer a managed setup? WinterFlow installs, configures, and updates Maloja for you using this same Docker Compose configuration.