#Docker whit Web-Ui

8 messages · Page 1 of 1 (latest)

broken cobalt
#

Hello, everyone,

I would like to use SpotDL as a docker container, which runs permanently and I can do all actions via the web UI.

Unfortunately I can't get the web UI to start because I always get an error that "query" is needed.

So what should the correct Docker command be to run SpotDL permanently with Web UI?

Many thanks in advance.

Running on arm (Raspberry) whit the latest Docker.

shrewd lotusBOT
#
spotDL Support

Please continue adding more information into this thread.
You should include the following information:

spotDL Version

Eg. 4.0.0

Operating System

Eg. Windows 22H2

The Command You Ran

Please include Spotify links.

Screenshots or Pasted Error Messages

Only send these if they are relevant.

To send pasted error messages use three backticks (```)
Here's info on how to use code blocks.

#

@broken cobalt

candid vine
#

query shouldn't be required when running spotdl web

#

Can you verify your version?

broken cobalt
#

Thanks for the quick answer.

I've already found the error.
And the order of the commands was not correct.

The web interface starts with the following command, but it is not yet accessible from my computer.

docker run -d --name spotdl -v /home/pi/hdd/music:/music spotdl/spotify-downloader web --host 0.0.0.0 --port 8801 --keep-alive

#

But strange that the web ui is not listining to the port. Any suggestion?

broken cobalt
#

Okay, it is necessary in the Docker command to bind the container to the port you enter.
In my case it now looks like this:

docker run -d -p 8800:8800 --name spotdl -v /home/pi/hdd/music:/music spotdl/spotify-downloader:latest web --host 0.0.0.0 --port 8800 --keep-alive

Maybe this should be documented just for the Docker users.