docker-subsonic/README.md

25 lines
798 B
Markdown
Raw Permalink Normal View History

2016-01-02 18:33:09 -08:00
docker-subsonic
===============
2016-01-02 17:29:24 -08:00
[Subsonic](http://www.subsonic.org/pages/index.jsp) in a docker container.
2016-01-02 18:33:09 -08:00
*Usage*
* Build: `docker build -t subsonic .`
* Run: `docker run -d -v /hostpath/music:/var/music -p 4050:4050 -p 4051:4051 subsonic`
*Persistence*
2019-04-09 19:38:18 -07:00
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.
2016-01-02 18:33:09 -08:00
* -v /hostpath/subsonic/db:/var/subsonic/db
* -v /hostpath/subsonic/subsonic.properties:/var/subsonic/subsonic.properties
2019-04-09 19:38:18 -07:00
* -v /hostpath/subsonic/db:/var/subsonic/db
* -v /hostpath/subsonic/metadata:/var/subsonic/lucene2
2016-01-02 18:33:09 -08:00
2019-04-09 19:38:18 -07:00
All persistent locations must be read/writable by uid/gid 1000.
2016-01-02 18:33:09 -08:00
*TODO*
* Allow specifying UID for subsonic user on the fly