Skip to content

Commit

Permalink
Update application.properties
Browse files Browse the repository at this point in the history
  • Loading branch information
yasasghari committed Mar 4, 2024
1 parent da5ab91 commit 79e9eb7
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 25 deletions.
2 changes: 1 addition & 1 deletion src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE
server.error.include-message=always
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
spring.datasource.hikari.minimum-idle=1
spring.datasource.hikari.maximum-pool-size=${DATABASE_MAX_CONNECTIONS:0}
spring.datasource.hikari.maximum-pool-size=${DATABASE_MAX_CONNECTIONS:1}
logging.level.root=INFO
logging.level.org.springframework.security=WARN
logging.level.org.hibernate.SQL=WARN
Expand Down
9 changes: 5 additions & 4 deletions target/classes/application.properties
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
spring.datasource.url=jdbc:postgresql://localhost:5432/postgresglobalapp
spring.datasource.username=postgres
spring.datasource.password= Qwerty123456!
spring.datasource.url=${DATABASE_URL:jdbc:postgresql://localhost:5432/postgresglobalapp}
spring.datasource.username=${DATABASE_USERNAME:postgres}
spring.datasource.password=${DATABASE_PASSWORD:Qwerty123456!}
spring.datasource.driver-class-name=org.postgresql.Driver
spring.jpa.show-sql=true
spring.sql.init.mode=always
spring.jpa.hibernate.ddl-auto=update
logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE
server.error.include-message=always
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
spring.datasource.max-active=3
spring.datasource.hikari.minimum-idle=1
spring.datasource.hikari.maximum-pool-size=${DATABASE_MAX_CONNECTIONS:1}
logging.level.root=INFO
logging.level.org.springframework.security=WARN
logging.level.org.hibernate.SQL=WARN
Expand Down
Binary file not shown.
Binary file not shown.
20 changes: 0 additions & 20 deletions target/classes/templates/register.html

This file was deleted.

0 comments on commit 79e9eb7

Please sign in to comment.