Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
c43d9159
Commit
c43d9159
authored
Jan 14, 2014
by
Dave Syer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update config location docs
parent
5b90e185
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
howto.md
docs/howto.md
+6
-6
No files found.
docs/howto.md
View file @
c43d9159
...
@@ -832,12 +832,12 @@ properties, environment variables or the command line.
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment