Postresql with docker, can I deploy my app which is using the db on streamlit cloud?

I have a simple app that I want to deploy with streamlit cloud.
it is connected to my github account.

My app is using a postresql database which is launched with docker.

I was wonderting if i could deploy my app on streamlit and start docker so that I can have access to the database.
if so, how can I do it?

You do not have access to configure the environment running your app on Community Cloud. If you need to configure a docker container to run your app, you’ll need to look at another solution.

If you deploy your database somewhere else, you could of course publish an app on Community Cloud and connect to that remote database.