Sign inSign up

cavemandaveman/subsonic-libre

By cavemandaveman

Updated over 10 years ago

A docker image for the libre version of Subsonic

Image
0

546

cavemandaveman/subsonic-libre repository overview

Subsonic Libre

alt text alt text alt text

This is a lightweight docker image for Subsonic, built on top of Alpine Linux.

It uses a Libre distribution of Subsonic, free of licensing checks.

Created with minimal and KISS principles, it contains only the parts necessary to run Subsonic, weighing in at just under 250MB.

Software Stack
Subsonic 5.3
Apache Tomcat 8.0.32
OpenJDK 1.8.0
Alpine Linux 3.3

I just want to check it out

docker run -d --name subsonic-libre \
    -v /path/to/your/music/directory/:/var/music/:ro \
    -p 8080:8080 \
    cavemandaveman/subsonic-libre:latest

You can access the page at http://<host-ip>:8080


I want to be able to keep my preferences even after restart/shutdown

The correct way

First, create a data only container:

docker run --name subsonic-libre-data \
    -v /var/subsonic/db/ \
    subsonic-libre:latest true

Then link the data container to the image:

docker run -d --name subsonic-libre \
    -volumes-from subsonic-data \
    -v /path/to/your/music/directory/:/var/music/:ro \
    -p 8080:8080 \
    cavemandaveman/subsonic-libre:latest

Learn more about managing/persisting your data with data-only containers here.

The frowned upon way

Note: This will only work if you create a user/group on the host with UID/GID of 666.

docker run -d --name subsonic-libre \
    -v /path/where/you/want/to/save/data/:/var/subsonic/db/ \
    -v /path/to/your/music/directory/:/var/music/:ro \
    -p 8080:8080 \
    cavemandaveman/subsonic-libre:latest

I already have Subsonic and want to use my current preferences/data

Follow the same instructions as the frowned upon way, but replace /path/where/you/want/to/save/data/ with /current/directory/of/subsonic/db/.

Tag summary

Content type

Image

Digest

Size

137 MB

Last updated

over 10 years ago

docker pull cavemandaveman/subsonic-libre