koel / docker

A minimal docker image for the koel music streaming server.
https://hub.docker.com/r/phanan/koel/
MIT License
166 stars 54 forks source link

Can not initialise the docker stack #179

Closed SylvainDx closed 2 weeks ago

SylvainDx commented 1 year ago

Hello,

I use the docker-compose.mysql.yml file with just the password changes and I cannot finish the koel:init because it cannot communicate with the db

image

I check installing ping on the koel's container and it can reach the db container.

asdfzxcvbn commented 1 year ago

i think i was having this issue with postgres, it should work fine if you use the mysql stack though

asdfzxcvbn commented 1 year ago

nevermind i just saw you're already using mysql, can you send your docker-compose.yml?

essys commented 7 months ago

I had the same problems. Make sure that you use the same host information that you entered for DB_HOST in your Docker Compose file.
If you didn't change this value, then it should be 'database'.

Exerra commented 3 months ago

Had the same problem, but fixed it with #168.

Basically you need to set the port manually (with pgsql it is 5432)