Closed d135-1r43 closed 3 months ago
Not 100% sure what you want to do.
You wan't to be able to setup arbitrary env var that would be passed on to the dev service at startup ? In the example you give, they make use of withEnv("AMQ_EXTRA_ARGS", extra);
, how exactcly would you reproduce that ?
Anyhow, please feel free to provide a PR, I would certainly have a better understanding of what you want to achieve.
I made the PR and used the same pattern as the other extensions are using.
@d135-1r43 many thanks for your involvement, will release soon.
It is best practice to accept arbitrary env variables being passed to the dev service container. Examples for this can be found at the official Quarkus guide on Dev Services. E.g.,
quarkus.amqp.devservices.container-env."environment-variable-name"
Use case: I want the dev service to be preconfigured with
If the feature gets approved, I could do the PR on my own.