Skip to content

Commit

Permalink
Merge pull request #51 from nehbehl/patch-39
Browse files Browse the repository at this point in the history
Update application.properties
  • Loading branch information
SudKul authored Nov 21, 2024
2 parents 92431f9 + fd2c8ad commit 913f6c9
Showing 1 changed file with 15 additions and 26 deletions.
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

0 comments on commit 913f6c9

Please sign in to comment.