Configure KoboToolbox to use external Postgres database

How do you configure kobotoolbox to use an external postgres database rather than using the the one in the docker container. Are there any arguments I can use with python3 in kobo-install or any files I can change for me to archive this?