Sonerezh is a self-hosted web application which allows you to listen to your music, from anywhere.
3.7K
This is a docker container for sonerezh which is a self-hosted web application which allows you to listen to your music, from anywhere. It is rebuilt daily and pushed under the latest tag.
The source for this image is located here. Simply clone that repository and use docker build:
$ git clone --master https://github.com/mrporcles/docker-sonerezh.git
$ cd nginx
$ docker build --tag sonerezh .
Sonerezh uses a mysql or mariadb database for its backend so you will need to have one running prior to starting this container. This can be done using the following command:
docker run --name sonerezh-db --env MYSQL_ROOT_PASSWORD=changeme \
--env MYSQL_USER=sonerezh \
--env MYSQL_PASSWORD=changemetoo \
--env MYSQL_DATABASE=sonerezh \
--volume /path/to/mysql/data:/var/lib/mysql
Once the database backend is running you can use the values configured above to populate environment variables which are used by this container to connect to the backend database:
You will also need two volumes mounted into the container. One for the location of the music you wish to play and one for the thumbnails which are generated for the album art upon scanning.
You can now run the container by using the following command:
docker run -d --name='Sonerezh' -e 'SONEREZH_DB_ENV_MYSQL_PASSWORD'='changemetoo' \
-e 'SONEREZH_DB_PORT_3306_TCP_ADDR'='192.168.0.100' \
-e 'SONEREZH_DB_ENV_MYSQL_DATABASE'='sonerezh' \
-e 'SONEREZH_DB_ENV_MYSQL_USER'='sonerezh' \
-p '8080:80/tcp' \
-v '/mnt/music':'/music':'ro' \
-v '/mnt/music/thumbnails':'/thumbnails':'rw' \
'mrporcles/sonerezh'
Your Sonerezh instance will be available at http://127.0.0.1:8080. Make sure Sonerezh have read access to /path/to/music and read/write access to /path/to/thumbnails.
Content type
Image
Digest
Size
496.1 MB
Last updated
about 5 years ago
docker pull mrporcles/sonerezh