How to set quarkus properties?

I’m trying to set a quarkus configuration, but I can not find any trace of the property actually being used.

I’ve tried with setting-Dquarkus.datasource.jdbc.max-lifetime=12H in JAVA_OPTS and/or quarkus.datasource.jdbc.max-lifetime=12H in conf/quarkus.properties but I can’t find any trace of it actually being set in the logs or anything.

How can I verify that the configuration is actually used? Or am I not doing as intended? Followed the documentation here.

Also created in issue if this should be keycloak server configuration, here.

As far as I know, you’re not supposed to change quarkus properties directly, and, from Keycloak 17.0.0 you’re supposed to pass that kind of configuration to your kc.sh/kc.bat script (like --db mysql --hostname …)

BTW, maybe you’re trying to make something else (like modifying the amount of memory quarkus reserves by default)?