Code Monkey home page Code Monkey logo

docker-subsonic's Introduction

This repository contains configuration files for building a Docker image for the Subsonic media streamer.

Noteworthy

Volumes

  • /data --- Directory to store Subsonic's log, configuration and database
  • /music --- Default music folder
  • /podcasts --- Default podcast folder
  • /playlists --- Default playlist folder

Environment Variables

  • TZ --- timezone setting, default: Europe/Berlin
  • MAX_MEM --- maximum Java heap size in megabytes, default: 256

Build your own image

$ 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:

$ docker pull mbirth/subsonic

The repository page is at https://hub.docker.com/r/mbirth/subsonic/

Run a container with this image

$ docker run \
  --detach \
  --publish 8080:8080 \
  --volume "/local/config/dir:/data/" \
  --volume "/wherever/your/music/is:/music/:ro" \
  <your-name>/subsonic

docker-subsonic's People

Contributors

cyrilix avatar mbirth avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

coreyva

docker-subsonic's Issues

Configuration Files not saving

If someone has problem with config not being saved then problem is within docs.

Code says:

ENV JAVA_OPTS="-Xmx${MAX_MEM}m -Dsubsonic.host=0.0.0.0 -Dsubsonic.contextPath=/ -Dsubsonic.home=/data -Dsubsonic.defaultMusicFolder=/music/ -Dsubsonic.defaultPodcastFolder=/podcasts/ -Dsubsonic.defaultPlaylistFolder=/playlists/ -Djava.awt.headless=true"
VOLUME ["/data", "/music/", "/playlists/", "/podcasts/"]

And docs says:

$ docker run \
  -v /wherever/your/music/is:/music/:ro \
  -v /local/config_folder/:/subsonic \
  <your-name>/subsonic

Above will not work, since data is stored in data folder, use -v /local/config_folder/:/data \ instaed of -v /local/config_folder/:/subsonic\

$ docker run \
  -v /wherever/your/music/is:/music/:ro \
  -v /local/config_folder/:/data \
  <your-name>/subsonic

Hope it helps you. Took me few minutes to FIO ;)

Where are config files ?

Hi !

Everything is in the title, I don't find config files...
You told about a /subsonicrepository but it doesn't exist

Thanks for help

Vlejop

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.