{"repo":"jjok/my-mopidy-setup","free":true,"listed":false,"github":"https://github.com/jjok/my-mopidy-setup","clone":"git clone https://github.com/jjok/my-mopidy-setup.git","description":"Docker configurations to build my Mopidy setup","language":"Dockerfile","stars":22,"topics":["mopidy","docker","raspberry-pi","snapcast"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"My Mopidy Setup =============== These is the Docker images that I'm currently using to run Mopidy and Snapserver on a Raspberry Pi 3a, and Snapclient with a PhatDAC or IQAudio Pi-DACZero on a Raspberry Pi Zero. It probably won't be exactly the setup you want, but feel free to create a fork for your own setup. The Mopidy version and all extensions to be installed are defined in requirements.txt . I have music files in /music that I mount into the Mopidy container. Build ----- Build on PC docker compose build mopidy snapserver --build-arg BUILD FROM=docker.io/debian:bookworm-slim --build-arg ARCH=amd64 Build on Raspberry Pi (takes about 40 minutes on Pi 3) docker compose build mopidy snapserver Run Mopidy and Snapserver ------------------------- docker compose up mopidy snapserver -d Run Snapclient -------------- docker compose up snapclient -d View logs: docker logs -f mopidy Execute any Mopidy command: docker exec mopidy mopidy docker exec mopidy mopidy config docker exec mopidy mopidy deps Raspberry PI Setup ------------------ Mopidy and Snapcast 1. Burn Raspberry PI OS to SD card (16GB+). Put SD card in Raspberry Pi. 3. Copy files to the Pi. make upload-snapserver snapserver docker-compose.yml Dockerfile Makefile mopidy.conf requirements.txt 3. ssh onto Pi 4. Install Docker CE. 5. Run the build command 6. Mount music from USB (see below) 7. Run container docker compose up mopidy snapserver -d 8. Reboot 9. Scan for music docker exec mopidy mopidy local scan Snapclient with r","default_branch":null,"files":null,"tree":[],"storefront":"/r/jjok","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jjok/my-mopidy-setup/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}