Subsonic in a docker file
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
dave 87eadb0241 clear lock file, update readme 1 year ago
Dockerfile clear lock file, update readme 1 year ago
README.md clear lock file, update readme 1 year ago
start clear lock file, update readme 1 year ago

README.md

docker-subsonic

Subsonic in a docker container.

Usage

  • Build: docker build -t subsonic .
  • Run: docker run -d -v /hostpath/music:/var/music -p 4050:4050 -p 4051:4051 subsonic

Persistence

To make the subsonic database persistent, two paths - a dir and a file - need to be persistent. Additionally, Subsonic generates an index of metadata that should be made persistent as well.

  • -v /hostpath/subsonic/db:/var/subsonic/db
  • -v /hostpath/subsonic/subsonic.properties:/var/subsonic/subsonic.properties
  • -v /hostpath/subsonic/db:/var/subsonic/db
  • -v /hostpath/subsonic/metadata:/var/subsonic/lucene2

All persistent locations must be read/writable by uid/gid 1000.

TODO

  • Allow specifying UID for subsonic user on the fly