docker-subsonic/README.md
2015-05-23 10:11:57 +02:00

44 lines
927 B
Markdown

This repository contains configuration files for building a
Docker (http://docker.io) image for the Subsonic media streamer.
## Noteworthy
* Subsonic 5.2.1 (http://www.subsonic.org)
## Build your own image
```shell
$ docker build -t <your-name>/docker-subsonic .
```
## Get a pre-built image
A current image is available as a trusted build from the Docker index:
```shell
$ docker pull cyrilix/subsonic
```
The repository page is at
https://index.docker.io/u/cyrilix/subsonic/
## Run a container with this image
```shell
$ docker run \
--detach \
--publish 8080:8080 \
--volume "/wherever/your/music/is:/opt/music/:ro" \
<your-name>/subsonic
```
## Configuration
Specify env variables:
* CONTEXT_PATH = The context path, i.e., the last part of the Subsonic URL. Typically '/' or '/subsonic'. Default '/'
* PORT = The port on which Subsonic will listen for incoming HTTP traffic. Default: 8080