Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Rohmilchkaese/spotifyd

spotifyd docker image - based on Alpine Linux
https://github.com/Rohmilchkaese/spotifyd

alpine-linux dockerfile spotify-connect spotifyd

Last synced: about 1 month ago
JSON representation

spotifyd docker image - based on Alpine Linux

Awesome Lists containing this project

README

        

# spotifyd
spotifyd docker image - based on Alpine Linux

Link to [Docker Hub](https://hub.docker.com/r/rohmilkaese/spotifyd)

[Spotifyd](https://github.com/Spotifyd/spotifyd) streams music just like the official client, but is more lightweight and supports more platforms. Spotifyd also supports the Spotify Connect protocol, which makes it show up as a device that can be controlled from the official clients.

I build this Docker image because there was no Spotifyd Image running on Alpine Linux. As far as I can tell, this is the only one running on Alpine, which also makes it the smallest one. Counting in at ~ 22 mb installed and ~ 8 mb compressed to dowload from Docker Hub.

## Docker Run

Command:

```bash
sudo docker run -d \
-v $PWD/conf/spotifyd.conf:/etc/spotifyd.conf \
--device /dev/snd \
--name spotifyd \
rohmilkaese/spotifyd
```
Place a valid spotifyd.conf file in directory you run the docker run command.

## Docker Compose

docker-compose.yaml
```yaml
version: "2.2"
services:
spotifyd:
container_name: spotifyd
image: rohmilkaese/spotifyd:latest
volumes:
- ./conf/spotifyd.conf:/etc/spotifyd.conf:ro
devices:
- /dev/snd
```
Place a valid spotifyd.conf file in /conf directory.