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}
raphael.staebler
sunil2197
antoine
5abfc42589b946e79faf3d4681a650
Jamal
DriftingNavyFish
Pak
Chris Sheridan
AM-developers
SleepingAquamarineMantaRay
imerik1