Mopidy Docker image based on Alpine Linux.
- Based on Alpine Linux: smaller than a debian or ubuntu based image.
- Runs on Raspberry Pi (tested on Model 4B)
- Uses the latest mopidy version from the python3 pip repository.
- Customizable: mopidy plugins can be added/removed by editing requirements.txt.
- Mopidy configuration example using replaygain for volume normalization and ALSA.
- Includes Healtcheck for monitoring
Configuration:
- Edit the variables in Makefile.
- Optional: add/remove plugins in requirements.txt
- Optional: edit mopidy.conf
Build and tag the docker Image:
$ make build
Only build the docker Image:
$ make build-alpine.
Tag the docker image with current date and latest:
$ make tag
Run the docker image in foreground using docker:
$ make run-fg
Run the docker image in backgroundground using docker:
$ make run-bg
Stop the docker image using docker-compose:
$ make down
Run the docker image using docker-compose:
$ make up
Run the docker image using docker-compose:
$ make down
Push docker image to private docker repository:
$ make push
You can access the available frontends at http://localhost:6680.
Using docker-compose:
$ docker-compose exec mopidy mopidy local scan
Using docker:
$ docker exec CONTAINER_NAME mopidy local scan
Open Source MIT License