Skip to content

mrporcles/docker-sonerezh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 

Repository files navigation

Sonerezh with Docker

This repository hosts the source code for a Docker image for Sonerezh. This has been forked off the original as that image didn't seem to be manitained. See the Hub page for more information.

WARNING: the Docker image for Sonerezh is still under development. Some functionnality are broken like email notifications for example.

How to build this image

Simply clone this repository and use docker build:

$ git clone --master https://github.com/Sonerezh/docker.git
$ cd docker/nginx
$ docker build --tag sonerezh .

How to use this image

Manually

You can configure your Sonerezh instance manually. First you will need to run mysql or mariadb container:

$ 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 \
								--detach mariadb

And then run Sonerezh container:

$ docker run --name sonerezh-app --link sonerezh-db:sonerezh-db \
								 --volume /path/to/music:/music \
								 --volume /path/to/thumbnails:/thumbnails \
								 --detach --publish 8080:80 \
								 sonerezh/sonerezh:latest

Your Sonerezh instance is 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.

Contributing

You are invited to contribute new features, fixes, or update, large or small; I am always thrilled to receive pull requests, and will do my best to process them as fast as we can.

Bugs/Problems

Feel free to log an issue here if you experience any issues with the image.