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 run.py in kobo-install or any files I can change for me to archive this?

Hello @tendaitakas,

You should edit DATABASE_URL in templates/kobo-deployments/envfiles/databases.txt.tpl (in kobo-install folder).

Be aware you will need to re-apply your changes after an update of kobo-install.

1 Like