I am completely new to docker. I have been using it for about a week and I love it. I have set up mysql containers and have data sitting in volumes across identical instances. I got the swarm HA set up and all my containers are connected. the only problem I have is… how do I connect my app to the my sql servers in the swarm? do I make my connection string point to the swarm manager? and the swarm manager spreads the queries to whichever container db is available? or do I point my web app to the actual node and the swarm manager ensures i have a connection. What do I connect to in order to get my data out of the swarm? Or is swarm just for managing the containers.
maasba (Maasba) #1