Question

DO App Platform Flask and CouchDB

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


Submit an answer

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!

Sign In or Sign Up to Answer

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.