...
A profile can specify an <activation> element that can accept a list of properties that much must match values in the bootstrap environment to be activated. This can be useful to localize an application based on the environment it is running in. For example the following profile could be automatically activated to set the discovery address to use when running in the prod environment based on the environment variable ENVIRONMENT_NAME=PROD being set in that environment.
...