-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document that one can override runtime properties via config/application.properties #4452
Comments
Thank you for adding this to the documentation! When running quarkus:dev the "config" folder needs to be inside target/classes, however the hot code replacement (?) seems to get rid of it. Could maybe also add how to deal with this for quarkus:dev? Or am I missing something? |
Let me check and see how |
I just checked and |
Note added in #4458 about dev mode |
Document the use of config/application.properties
Is there a list or similar of runtime properties? Or some other way to find out which properties are build and which are runtime? Thanks! |
@machi1990 @gsmet I think this one is for you |
@flo-ryan it should be describe in each relevant guide. We are also in the process of rolling out a unified rendering of the property list. See Hibernate ORM's for example, you will see the different icon depending on the lifecycle (build time vs runtime) see https://quarkus.io/guides/hibernate-orm-guide#properties-to-refine-your-hibernate-orm-configuration PS @gsmet should we rename the |
@emmanuelbernard A unified list of all available properties (for all microprofiles?) including the build/runtime info would be very helpful and highly appreciated! Thanks! |
@kenfinnigan we don't have a MP list of properties right in the Quarkus guides? I also felt we would be better with the list described. whether unified or in each guide, I personally was leaning towards each guide. |
For example: It is unclear to me if/how I can set user + password + roles at runtime using "quarkus.security.embedded.*" in application.properties in a "config" folder (to be able to set user passwords more securely at runtime). |
CC @sberyozkin |
You can override runtime properties in bulk by placing a
config/application.properties
int he working directory of the application.This is useful for users but not documented.
#1218 (comment)
https://github.com/geoand/quarkus/blob/46dc078de494b331d83d39df8dddcc97e516bf85/core/runtime/src/main/java/io/quarkus/runtime/configuration/ApplicationPropertiesConfigSource.java#L70
No reference in https://quarkus.io/guides/application-configuration-guide
The text was updated successfully, but these errors were encountered: