Mopidy (server and clients: Iris, Rompr + MariaDB) + Snapserver on docker-compose

miles cb0e4d4187 git init 2 vuotta sitten
config cb0e4d4187 git init 2 vuotta sitten
db_config cb0e4d4187 git init 2 vuotta sitten
music cb0e4d4187 git init 2 vuotta sitten
.env cb0e4d4187 git init 2 vuotta sitten
.gitignore cb0e4d4187 git init 2 vuotta sitten
Dockerfile cb0e4d4187 git init 2 vuotta sitten
LICENSE 0cc6f83eaa Initial commit 2 vuotta sitten
README.md cb0e4d4187 git init 2 vuotta sitten
docker-compose.yaml cb0e4d4187 git init 2 vuotta sitten

README.md

docker-mopidy

Mopidy (server and clients: Iris, Rompr + MariaDB) + Snapserver on docker-compose

Configure

  • Change .env file

  • Change ./config/mopidy/mopidy.conf (optional)

  • Put music into ./music/ directory

Run

  • Run with docker-compose up

  • Open localhost:80 for Rompr client and connect to Mopidy (Mopidy hostname = mopidy; MySQL hostname = 'mysql') or open localhost:6680/iris/ for Iris client

Troubleshouting

  • If Rompr does not start because MySQL error double check if exists inside ./db_config/mysql.cnf file:

    [mysqld]
    #mmi
    log_bin_trust_function_creators = true
    
  • If Mopidy does not work with Snapserver double check if exists indise ./config/mopidy/mopidy.conf:

    [audio]
    output = audioresample ! audioconvert ! audio/x-raw,rate=48000,channels=2,format=S16LE ! filesink location=/tmp/snapfifo