I’m trying to connect to a remote mongodb setup on Atlas from a local run.
I have a normal mongo url from compose:
This works fine for remote connection on local runs and for deployment to Galaxy.
I have made a more complex replica set setup with Atlas and would like to connect to that database set from local development and in production.
The Atlas url looks like this:
When I deploy to Galaxy, my app connects successfully to the desired Atlas database. However, when I try to set the url locally to the remote database, like I use to with the compose url, my local app instance only connects to my local mongodb with no warnings or errors.
I tried playing around with the option settings in the url, but with no success. Any ideas how I can achieve this?
(No sharding is enabled)