Hi,
I am following this tutorial: https://www.digitalocean.com/community/tutorials/how-to-set-up-laravel-nginx-and-mysql-with-docker-compose
I have set these vars in the docker-compose.yml
MYSQL_DATABASE: laravel
MYSQL_USER: laraveluser
MYSQL_PASSWORD: laraveldbpassword
MYSQL_ROOT_PASSWORD: root
But this is my public IP: http://178.62.89.151/
It is saying the database doesn’t exist, I have tried docker stop and rm on all containers then build, and docker-compose up -d but no joy?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hello,
I could suggest a couple of things:
First get the container ID:
Then run the following to see the logs:
Hope that this helps! Regards, Bobby