Skip to content

ronaldt80/docker-image-logitech-media-server

 
 

Repository files navigation

Docker Container for Logitech Media Server

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

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 \
           larsks/logitech-media-server

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%