Hi Is it possible to have Mongodb or any other database running in the background when deploying to streamlit share? or any other suggested options?
thank you
Hi Is it possible to have Mongodb or any other database running in the background when deploying to streamlit share? or any other suggested options?
thank you
Follow my 2 cents:
Quick answer: Yes, itโs possible
Should you do it? Not yet
The container where your app runs is disposable, so you can lose all your data. If itโs not a problem, you can add a sqlite, mysql or any other debian package to it (or install manually from your code).
If you need to keep the data, you should rely on external services like AWS DynamoDB. However, handling secrets is not possible yet. But it looks like streamlit is working on this one (https://docs.streamlit.io/en/stable/deploy_streamlit_app.html#limitations-and-known-issues)
Cheers
do you find a best way to use Mongodb or any other database ?
I use sql server and run in localhost worked for me but i could not deploy itโฆ
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.