Docker image running the librespot an open source client library for Spotify.
1.5K
Docker image running the librespot an open source client library for Spotify.
Librespot source code: https://github.com/librespot-org/librespot
Used backed: alsa
Image is build for linux/arm/v7 and linux/amd64 platform.
Image repo: https://gitlab.com/pienczyk/dockerized-librespot/
How to run:
docker container run --net=host --rm -it --device=/dev/snd -e DEVICE_NAME=headless-librespot -e BITRATE=320 pienczyk/dockerized-librespot:latest
services:
pihole:
container_name: headless-librespot
hostname: headless-librespot
image: pienczyk/dockerized-librespot:latest
environment:
DEVICE_NAME: /dev/snd
BITRATE: "320"
devices:
- "/dev/snd:/dev/snd"
network_mode: host
healthcheck:
test: ["CMD", "curl", "http://localhost:65444"]
interval: 1800s # Run the health check every 30 minutes
timeout: 5s # Wait up to 5 seconds for a response
retries: 3 # Mark as unhealthy after 3 failed checks
start_period: 10s # Allow 10 seconds for the service to initialize
restart: always
Content type
Image
Digest
sha256:7f255b657…
Size
32.4 MB
Last updated
9 months ago
docker pull pienczyk/dockerized-librespot