How install mongodb on fly.io ?
The short answer is “with a Dockerfile” but you probably want a longer answer. And that would depend on your application. I’ve sketched out what would need to be done for a node appication here: Hosting and connecting to mongodb database - #2 by rubys . Perhaps that is what you are looking for?
still failed do you have sample on github?
i was deployed but can’t connect using mongodb compas
mongodb://blablabla.internal:27017/?directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+1.6.1
You want to be careful exposing your database directly to the internet. Especially with no authentication.
thanks i was update Readme for tutorial create user and password and mongod.conf
because i’m not yet create script entrypoint