Quarkus does not use 'quarkus.profile' config when it is set in '$PWD/config' properties file

Solution Verified - Updated -

Issue

When starting a Quarkus application using a configuration-provided file: quarkus.config.locations=file://application.properties, the quarkus.profile configuration field is not being set. The Quarkus documentation on configuration reference has been followed to provide an application.properties file. The file is being used, as some fields are applied, but quarkus.profile, specifically, is not.

Environment

  • Red Hat Build of Quarkus
    • 3.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content