Report this

What is the reason for this report?

DO App Platform Flask and CouchDB

Posted on May 9, 2021
Edward

By Edward

Full-Stack Dev

Hi, I currently have a setup where i have a flask app on the App platform and a CouchDB database on a VPS and im looking to migrate the Database as a component of the flask app in the app platform, any ideas how i can connect them to each other when ive migrated the Database



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello, Digital Ocean does not have support for CouchDB at the moment. The only No SQL database option available is MongoDB. If you switch to Mongo DB then you will have to create a mongo cluster in the databases section of your Account and then go to the App settings and Add a database component to your App. Make sure to use the existing database option to use the previously created MongoDB cluster.

https://docs.digitalocean.com/products/app-platform/how-to/manage-databases/#connect-to-a-database

Thanks Mohsin Saeed.

The developer cloud

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

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.