docker icon indicating copy to clipboard operation
docker copied to clipboard

Can not initialise the docker stack

Open SylvainDx opened this issue 2 years ago • 4 comments

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.

SylvainDx avatar Mar 22 '23 13:03 SylvainDx

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

asdfzxcvbn avatar Apr 17 '23 21:04 asdfzxcvbn

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

asdfzxcvbn avatar Apr 17 '23 21:04 asdfzxcvbn

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'.

essys avatar Dec 15 '23 13:12 essys

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

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

Exerra avatar Apr 03 '24 20:04 Exerra