How to connect to RDS Postgresql DB for storing Redash Metadata

I am running Redash v10 as docker-compose on EC2 Instance. Now I want to use AWS RDS Postgres ql for storing Redash metadata instead of running local container of postgres. What are the steps needed to migrate data from postgres container to RDS Postgresql, and what parameters are required to be updated ?