Skip to content

music-library/music-library

Repository files navigation

Music Player 🎵

Self-hosted music player.

- for those of us too stubborn to just use Spotify

Features 💪

  • NBUI (not bad user-interface)
  • Live active users showing what other users are currently listening to
  • Fully mobile and tablet responsive
  • Sources tracks from file-system
  • Supported File Formats
    • MP3
    • FLAC
  • Uses track metadata - (falls-back to filename if no tags found)
    • Title
    • Artist
    • Album Artist
    • Album
    • Cover Art

How to setup 💡

Pull from Docker Hub (the easy way :)

  1. Create a docker-compose.yml file
version: "3"

services:
  music-player:
    image: hmerritt/music-library-player:latest

    environment:
        # Client
        - REACT_APP_HTTP=http
        - REACT_APP_HOST=localhost:7788
        - REACT_APP_API=http://localhost:7789
        # Server
        # Specify up to 5 music directories
        - MUSIC_DIR_NAME=Main
        - MUSIC_DIR2_NAME=Second
        - MUSIC_DIR2_NAME=Third

    ports:
      - 7788:80
      - 7789:8000

    volumes:
      - path-to-caching-dir:/app/data
      - path-to-your-music:/app/music
      - path-to-your-music:/app/music2
      - path-to-your-music:/app/music3
  1. Run docker image using docker-compose
$ docker-compose up