Skip to content

Instantly share code, notes, and snippets.

@divyam234
Created July 31, 2025 20:50
Show Gist options
  • Select an option

  • Save divyam234/d3d33ad3c98a1b4c09accf952b3f33a5 to your computer and use it in GitHub Desktop.

Select an option

Save divyam234/d3d33ad3c98a1b4c09accf952b3f33a5 to your computer and use it in GitHub Desktop.
librespot.yml
services:
librespot:
image: ghcr.io/divyam234/librespot-docker
network_mode: host
container_name: librespot
restart: always
environment:
- DEVICE=default
- FORMAT=S24
- BACKEND=pulseaudio
- BITRATE=320
- INITIAL_VOLUME=100
- DEVICE_TYPE=speaker
- DEVICE_NAME=Librespot
- ENABLE_CACHE=y
- ENABLE_SYSTEM_CACHE=y
- DISABLE_CREDENTIALS_CACHE=y
volumes:
- /home/bhunter/spotify/system-cache:/data/system-cache
- /home/bhunter/spotify/cache:/data/cache
- /run/user/1000/pulse:/run/user/1000/pulse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment