psql server closed the connection unexpectedly

I know there is a long standing discussion  on this, however it seems I am not falling into any of the answers cited.

Ηere is my listen_address setting

cat postgresql.conf | grep -i listen
listen_addresses = '*'
cat pg_hba.conf  | grep -v '^#'
local all all trust
host all all 127.0.0.1/32 trust
host all all ::1/128 trust
local replication all trust
host replication all 127.0.0.1/32 trust
host replication all ::1/128 trust

This is a docker-compose setup.

What is the case here?

Tagged: