Yeah I see containers for cloudflared, MySQL, HA proxy and whatever ifarmo is. Because you are using cloudflared you need to be using an sql driver that supports http and not tcp. You will then need a container in your compose to translate that http to MySQL container