2015-05-14 16:48:39 +00:00
|
|
|
|
2024-05-21 23:07:36 +00:00
|
|
|
This repository contains configuration files for building a [Docker](https://github.com/docker/docker) image for the Subsonic media streamer.
|
2015-05-14 16:48:39 +00:00
|
|
|
|
|
|
|
## Noteworthy
|
|
|
|
|
2024-05-21 23:07:36 +00:00
|
|
|
* Subsonic (http://www.subsonic.org)
|
|
|
|
* Still is Java 8 ... (https://www.java.com/download/manual.jsp)
|
2015-05-14 16:48:39 +00:00
|
|
|
|
|
|
|
## Build your own image
|
|
|
|
|
|
|
|
```shell
|
2024-05-21 23:09:10 +00:00
|
|
|
$ docker build -t $USER/subsonic .
|
2015-05-14 16:48:39 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
## Run a container with this image
|
|
|
|
|
|
|
|
```shell
|
2024-05-21 23:07:36 +00:00
|
|
|
docker run \
|
|
|
|
-it \
|
|
|
|
--rm \
|
|
|
|
-p 4040:4040 \
|
|
|
|
-p 4043:4043 \
|
2015-05-14 16:48:39 +00:00
|
|
|
--volume "/wherever/your/music/is:/opt/music/:ro" \
|
2024-05-21 23:07:36 +00:00
|
|
|
$USER/subsonic
|
2015-05-14 16:48:39 +00:00
|
|
|
|
|
|
|
```
|
2015-05-23 08:11:57 +00:00
|
|
|
|
|
|
|
|