Docker stack with Symfony,api platform and Mysql

I have some troubles with a docker stack. I just want to use API Platform with Symfont and MySql.
It works well with PostGres but I need to use Mysql. I could launch the stack, connect to PHPMyadmin and see my database but PHP is unable to connect. I made change to my .env and docker-compose.yml to match ports but it doesn’t connect. If you could help me here is my repo : https://github.com/s4mking/api-platform-mysql

Thank you or your help.

Source: Symfony Questions

Was this helpful?

0 / 0

Leave a Reply 0

Your email address will not be published. Required fields are marked *