Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

I have been trying everything to get my app to connect to the managed mongodb database. I have the client (app), server and the mongodb all configured in the same app. I have connected to the db just fine from my local machine with the certificate and everything.
In the env settings for the server, DO added one that says DATABASE_URL and the value is within ${db.DATABASE_URL} and another with ${db-mongodb.DATABASE_URL}. I pointed my server to connect with this env in the code and it seems to try to pull it out, but just won’t connect. I have trusted sources all set up.
First error I was getting was: “self signed certificate in certificate chain”
Lastest error is: “All values of tls and ssl must be the same”
I have messed around and my latest attempt is like this:
${db-mongodb.DATABASE_URL}:${db-mongodb.PASSWORD}@db-mongodb.mongo.ondigitalocean.com/testing?authSource=admin&replicaSet=db-mongodb&tls=true&tlsCAFile=${db-mongodb.CA_CERT}
locally, connecting I can use the following and it connects:
mongodb+srv://username:${process.env.MONGOPWD}@db-mongodb.mongo.ondigitalocean.com/testing?authSource=admin&replicaSet=db-mongodb&tls=true&tlsCAFile=${process.env.MONGOCRT}
a6309a057c3f4cb38fb2e7feb67236
KFSys
Thomas M
ef1ed44cc2154be3bcbb2d727878f8
Devs Neonetworks
1e6b823ea20d4cb189a34a922f5588
Telmo Valverde
erik-jan martens
Henry Mui
anthonycarreon
garantieheld
Marin