This is an internal documentation. There is a good chance you’re looking for something else. See Disclaimer.
Spring Boot - Run Environment¶
The run environment is equivalent to the currently active spring profile, which can be set using the
spring.profiles.active parameter (for example add
--spring.profiles.active=development to the command line).
The following profiles are supported:
Some features are disabled:
do not create search index
allow insecure connection
no outgoing mails
Run level for use with production and test systems respectively.
Minimal system used for schema upgrades.
In the code the value can be requested using the
Profile can be set via
SPRING_BOOT env. var. also.SPRING_PROFILE