-
Notifications
You must be signed in to change notification settings - Fork 327
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #51 from nehbehl/patch-39
Update application.properties
- Loading branch information
Showing
1 changed file
with
15 additions
and
26 deletions.
There are no files selected for viewing
41 changes: 15 additions & 26 deletions
41
udacity-jwdnd-c1-l2-server-config-master/src/main/resources/application.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,19 @@ | ||
# config port and host | ||
server.port=8080 | ||
server.address=localhost | ||
server.error.include-message=always | ||
server.error.include-binding-errors=always | ||
|
||
#Please update data source url, username and password properties below | ||
#Sample shown below, `registration` in data source URL property depicts the DB name in database and should be replaced with actual DB name | ||
|
||
# config ssl | ||
server.ssl.enabled=true | ||
server.ssl.protocol=TLS | ||
#spring.datasource.url=jdbc:postgresql://localhost:5432/registration | ||
#spring.datasource.username=postgres | ||
#spring.datasource.password=postgres | ||
spring.datasource.url= | ||
spring.datasource.username= | ||
spring.datasource.password= | ||
|
||
spring.jpa.hibernate.ddl-auto=update | ||
spring.jpa.hibernate.boot.allow_jdbc_metadata_access=false | ||
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect | ||
spring.jpa.properties.hibernate.format_sql=true | ||
|
||
# error URL path | ||
server.error.path=/error | ||
# enable default error page | ||
server.error.whitelabel.enabled=true | ||
|
||
|
||
# request busy queue length | ||
server.tomcat.accept-count=100 | ||
|
||
|
||
# set console banner character set | ||
spring.banner.charset=UTF-8 | ||
# set console banner height | ||
spring.banner.image.height=20 | ||
|
||
|
||
# config database url and credentials | ||
spring.datasource.url=jdbc:postgres://localhost:5432 | ||
spring.datasource.username=admin | ||
spring.datasource.password=password | ||
spring.show-sql=true |