CommandError: Retries exceeded; failed to connect to default database

Hello all. I am trying to install kobotoolbox on a GCP instance but I get this error message at the part where it says this

Waiting for PostgreSQL database to be up & running...
Creating network "kobofe_kobo-fe-network" with driver "bridge"
CommandError: Retries exceeded; failed to connect to default database

Please advise me on what I am doing wrong.

I face same issue during upgrading process
waiting for solution