I'm running keycloak as a dev service and I'm aware that I could configure a fixed port using quarkus.keycloak.devservices.port
. However for this question, let's assume I use a system-assigned port.
Question: Now how do I (programmatically, with the means of Quarkus) find out, what port the dev service is running on?
I tried injecting this config value, however this results in an error when I don't specify it myself:
@ConfigProperty(name = "quarkus.keycloak.devservices.port")
String devServicePort;