./kc.sh does not pickups conf/quarkus.properties

How can we point quarkus.properties reside in keycloak/conf/ ?

I’m running it in standalone box not the container one.

I kept these properties in quarkus.properties

quarkus.datasource.db-kind=postgresql
quarkus.datasource.username=postgres
quarkus.datasource.password=mypassword

quarkus.datasource.jdbc.url=jdbc:postgresql://localhost:5432/QuarkusDB
quarkus.datasource.jdbc.max-size=16

and then simply invoking the cli

./kc.sh start-dev

But it start with default database and does create and table in the postgres db.

Can you tell me how to point quarkus.properties

@dasniko and @pedroigor

I’m looking for the vault solution

As you suggested for this Quarkus keycloak db-password encryption in keycloak.conf · Issue #15548 · keycloak/keycloak · GitHub

To implement the vault I need to load the configuration from quarkus.properties instead keycloak.conf.

I tried putting data source properties in quarkus.properties but it does not load, and KC starts with the default database.