I would also guess, based on your console output, that you’ve create a database cluster, not a database. So one solution to this is to shell into your machine, get the psql
environment running like so:
psql -h developemntdatabase.internal -U 'postgres'
(You may need to install this temporarily using your Linux distro’s package system. On Alpine I use apk add postgresql15-client
.)
And then from there you can create the actual database:
CREATE DATABASE mydb;
The other remark I’d make is that Spring should allow you to connect without a database name. Connecting to a database server is perfectly allowable without a database name to default to, and Spring should be no different. That said, if you do this manual fix, you can just use mydb
as the name.