Try checking a database name exists under the name keycloak
. The database endpoint you used jdbc:postgresql://qg_cms-db/keycloak
says keycloak
. I'm assuming you already created database called keycloak
or your initial script does it (docker-entrypoint-initdb.d
). But if it doesn't, the endpoint is pointing to a database that does not exist.