Browse Source

Update config location docs

pull/234/head
Dave Syer 12 years ago
parent
commit
c43d91598e
  1. 12
      docs/howto.md

12
docs/howto.md

@ -832,12 +832,12 @@ properties, environment variables or the command line.
You can also provide System properties (or environment variables) to You can also provide System properties (or environment variables) to
change the behaviour: change the behaviour:
* `config.name` (`CONFIG_NAME`), defaults to `application` as the root * `spring.config.name` (`SPRING_CONFIG_NAME`), defaults to
of the file name `application` as the root of the file name
* `config.location` (`CONFIG_LOCATION`) is file to load (e.g. a * `spring.config.location` (`SPRING_CONFIG_LOCATION`) is file to load
classpath resource or a URL). A separate `Environment` property (e.g. a classpath resource or a URL). A separate `Environment`
source is set up for this document and it can be overridden by property source is set up for this document and it can be overridden
system properties, environment variables or the command line. by system properties, environment variables or the command line.
No matter what you set in the environment, Spring Boot will always No matter what you set in the environment, Spring Boot will always
load `application.properties` as described above. If YAML is used then load `application.properties` as described above. If YAML is used then

Loading…
Cancel
Save