This repository contains configuration files for building a Docker (http://docker.io) image for the Libresonic media streamer.
- Libresonic (http://libresonic.org/ - latest version)
- Debian (https://debian.org/ - latest stable)
- Runs as normal user (UID 10000)
$ docker build -t <your-name>/debian-subsonic debian-subsonicA current image is available as a trusted build from the Docker index:
$ docker pull mschuerig/debian-subsonicThe repository page is at https://hub.docker.com/r/mschuerig/subsonic-docker-image/
$ docker run \
--detach \
--publish 8080:8080 \
--volume "/wherever/your/music/is:/var/music:ro" \
<your-name>/debian-subsonicArguments passed to docker run will be passed as-is to the
Libresonic commandline, see the upstream configuration guide for
more information about available options. For example,
to enable TLS, you could do:
$ docker run \
--detach \
--publish 4040:4040 \
--volume "/wherever/your/music/is:/var/music:ro" \
<your-name>/debian-subsonic \
-Dserver.ssl.enabled=true \
[...]The host music directory mounted into the container at /var/music must be readable by user libresonic (UID 10000).
If you use a volume for the container's /var/libresonic, the host directory mounted there must have read-write-execute permissions for user libresonic (UID 10000).