Have a speaker that is able to connect to Spotify inside a docker container.
Go to file
2022-02-06 00:52:44 +01:00
.drone.yml initial commit 2022-02-06 00:52:44 +01:00
docker-compose.yml initial commit 2022-02-06 00:52:44 +01:00
Dockerfile initial commit 2022-02-06 00:52:44 +01:00
README.md initial commit 2022-02-06 00:52:44 +01:00
start.sh initial commit 2022-02-06 00:52:44 +01:00

Spotifyd docker

Run spotifyd inside docker. Inspired by GnaphronG/docker-spotifyd.

Setup

You need to add the /dev/snd to the container. Because the container uses Alsa you can have only one application use the device. If you have a something else runnig on your system that uses Alsa, you will get an error.

Check out the docker-compose.yml for an example.

Configuration

Following variables are available.

SPOTIFYD_USERNAME Required. Spotify username.

SPOTIFYD_PASSWORD Required. Spotify password.

SPOTIFYD_DEVICE Name of the device.