I have one server with N dockers containers, each one have one server, it can be nginx, mysql, postgresql.
At the moment I can proxy my 80/443 connections based on my domain to dockers containers with nginx proxy, but I’m not getting how to proxy mysql containers.
I already tried with nginx, but seems only support http/s servers, and iptables i can not because it does not support domain names.
Per example: some mysql connection mysql://domain:3306 -> containerZ:3306
Does anyone have one idea to help me?