Hi. I am new to Docker and came across Docker compose today.
Was just wondering how can I create app instance on server1 and database instance on server2 using docker compose ?
All the examples, i have seen till now have created the app and database on the same node. They just use different ports. I would like to know if there is any way to separate these instances.
Can anyone help me in understanding how docker is implemented in real life scenario or atleast share few resources which could help me understand the real life examples of docker ?