The error is Error: (...) no pg_hba.conf entry for host “xxx”, user “xxx”, database “xxx”, SSL off
So, have you allowed user xxx@xxx with an entry in pg_hba.conf?
Edit:
For example, I have added the following line to my …/pgdata/pg_hba.conf, allowing all users access all databases from 172.16.* (docker containers) using a md5 password:
host all all 172.16.0.0/12 md5