Skip to content

Latest commit

 

History

History
64 lines (44 loc) · 2.95 KB

Docker-Readme.md

File metadata and controls

64 lines (44 loc) · 2.95 KB

Docker Container for Logitech Media Server

Description

This image is based on the Docker Container for Logitech Media Server (Github). It was adapted according to the PR by RaymondMouthaan to support additional architectures. The source can be found on github.

Until the PR is reviewed this is a testing image.

This image is built weekly and always uses the latest version of 7.9.0, 7.9.1 and 7.9.2 (see tags for details) from http://downloads.slimdevices.com/nightly/index.php?ver=7.9.

Changes from original source

  • Always use latest 7.9.X version from mysqueezebox
  • Change to use deb_all package to simplify installation

Usage (Copied from original instructions)

This is a Docker image for running the Logitech Media Server package (aka SqueezeboxServer).

The imageas both for the latest stable 7.9 and the latest nightly of 7.9 are built and pushed automatically.

  • to use the latest stable version of LMS, use the tag latest-7.9.0
  • to use the latest stable version of LMS, use the tag latest-7.9.2

Run Directly:

docker run -p 9000:9000 \
           -p 9090:9090 \
           -p 3483:3483 \
           -p 3483:3483/udp \
           -v /etc/localtime:/etc/localtime:ro \
           -v /etc/timezone:/etc/timezone:ro \
           -v <local-state-dir>:/srv/squeezebox \
           -v <audio-dir>:/srv/music \
           doliana/logitech-media-server:latest-7.9.2

The web interface runs on port 9000. If you also want this available on port 80 (so you can use http://yourserver/ without a port number as the URL), you can add -p 80:9000, but you must also include -p 9000:9000 because the players expect to be able to contact the server on that port.

Using docker-compose

There is a docker-compose-logitech-media-server.yml included in this repository that you will let you bring up a Logitech Media Server container using docker-compose. The compose file includes the following:

volumes:
  - ${AUDIO_DIR}:/srv/music

To provide a value for AUDIO_DIR, create a .env file that points AUDIO_DIR at the location of your music library, for example:

AUDIO_DIR=/home/USERNAME/Music