Skip to content

Tag: docker-compose

Unable to start docker-compose

I’m trying to configure sendy to run on docker-compose. I’m getting this error when running docker-compose up error docker-compose.yml Answer In the directory where that docker-compose file exists, is there a Dockerfile specifically called “Dockerfile”? Under your sendy service, you ha…

Can’t connect to database in docker-compose

This is my docker-compose.yaml The problem is that php container can’t connect to mysql. Although from host I can connect with mycli -h 127.0.0.1 -P 3306 -u root. But when I exec in php container and try it, get ‘Connection refused’ Answer Your mysql service binds mysql server’s port 3…