I have the same issue with last release (https://github.com/netbox-community/netbox-docker/releases/tag/2.8.0 )
I have to set “trust” in /var/lib/postgresql/data/pg_hba.conf
host all all all trust
how did you set:
host all all all trust
access your docker container and make insert this line or fix the pre-available line
docker exec -it _netbox-docker-postgres-1_ /bin/bash
vi /var/lib/postgresql/data/pg_hba.conf
Thats it