I'm currently in the process of creating a Docker configuration (as to enable Linux support), and for it to run I need the Spring app to connect to a MongoDB instance on a different host than localhost, such as mongodb or 10.X.X.X.
I'm not that hugely familiar with Java, so I was wondering on what would be the best way to accomplish that.
Also, once I get the Docker config up and running I'm planning on opening a PR for it.
Hello,
I'm currently in the process of creating a Docker configuration (as to enable Linux support), and for it to run I need the Spring app to connect to a MongoDB instance on a different host than
localhost
, such asmongodb
or10.X.X.X
.I'm not that hugely familiar with Java, so I was wondering on what would be the best way to accomplish that.
Also, once I get the Docker config up and running I'm planning on opening a PR for it.
Thanks