Sign inSign up

intrepidde/squeezeboxserver

By intrepidde

Updated 7 days ago

Dockerfile for Logitech Media Server/Squeezeboxserver on Debian Bullseye/Perl5 baseimage

Image
0

10K+

intrepidde/squeezeboxserver repository overview

Dockerfile for Logitech Media Server/Squeezeboxserver on Debian Bullseye/Perl5 baseimage

https://github.com/FoxRomeo/docker-squeezeboxserver

Run:

(Quickstart, more details in docker-compose example)

docker run -d \
    -v /etc/localtime:/etc/localtime \
	-p 3483:3483/udp \
	-p 3483:3483/tcp \
	-p 9000:9000 \
	-p 9090:9090 \
	-e SLIMOPTIONS="--quiet --noimage --novideo"
	-v <local_state_dir>:/mnt/state \
	-v <local_music_dir>:/mnt/music \
	intrepidde/squeezeboxserver

You can find log, cache and preferences in <local_state_dir>. To prevent clashing with user IDs on the host server, Squeezeboxserver runs with UID 8888 and nogroup (65534). (I prefer log as tmpfs, and prefs, playlists and cache as mounts. You can you what you want, no volumes predefiend.)

docker-compose service:

  squeezebox:
    image: intrepidde/squeezeboxserver
    container_name: squeezebox
    hostname: logitechmediaserver
# Spotify plugin only connects in host mode, after connect or using username password this can be disabled again
#    network_mode: "host"
    ports:
    - 3483:3483/udp
    - 3483:3483/tcp
    - 9000:9000
    - 9090:9090
    tmpfs:
    - "/mnt/state/log"
    volumes:
    - "<local_state_dir>/playlists:/mnt/state/playlists:rw"
    - "<local_state_dir>/prefs:/mnt/state/prefs:rw"
    - "<local_state_dir>/cache:/mnt/state/cache:rw"
    - "/etc/localtime:/etc/localtime:ro"
    - "<local_music_dir>:/mnt/music:ro"
    environment:
    - TZ=Europe/Berlin
    - LANG=de_DE.UTF-8
    - LC_ALL=de_DE.UTF-8
    - SQUEEZE_ARGS="--quiet --noimage --novideo"
    restart: unless-stopped

7.9.3 container is based on CentOS 8.0-2.x are based on Perl:slim-buster (Debian) container 8.3.x are based on Perl:slim-bullseye (Debian) container

Tag summary

Content type

Image

Digest

sha256:3f7ffc08f

Size

440.2 MB

Last updated

7 days ago

docker pull intrepidde/squeezeboxserver