Hi guys, locally I have an Nodejs service querying data from Cassandra DB.
Now I want to achieve the same through docker and create a image.
I have created a container for my nodejs service and another container running Cassandra DB.(I have done this with commands, I did not use a DockerFile)
How can my service connect to DB? and How can I get one image which has both my service and DB?
Dockerfile,compose and links can do this?
Which is the easiest way? If possible can anyone give a sample file/example on how to do it?
Kindly guide me, I’m confused