On this perticular host I have quite a few docker-compose structures running, many of them with mysql databases.
When I try to add a new on this perticular app(service) seems to use another (needed) network to communicate with the result that it’s connecting to another mysql instance from another compose file.
Below my compose file:
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
I absolutely need the proxy_proxy-tier network so that app can be routed by the proxy and I would need app to connect to db using the backend_next network.
But what happens is that app uses the proxy network and actually connects with another mysql instance that is running on that same host.
Does somebody know how I can make app specifically use backend_next for the database connection?
Help much appreciated.