Compare commits

...

2 Commits

View File

@ -1,3 +1,6 @@
info:
app:
version: @project.version@
spring: spring:
application: application:
name: portfolio-api name: portfolio-api
@ -11,7 +14,6 @@ spring:
properties: properties:
hibernate.transaction.jta.platform: org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform hibernate.transaction.jta.platform: org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform
hibernate: hibernate:
dialect: org.hibernate.dialect.H2Dialect
format_sql: true format_sql: true
show-sql: true show-sql: true
@ -29,7 +31,7 @@ server:
port: 8080 port: 8080
servlet: servlet:
context-path: /api context-path: /api
forward-headers-strategy: framework
--- ---
spring: spring:
@ -42,7 +44,10 @@ spring:
driver-class-name: org.h2.Driver driver-class-name: org.h2.Driver
username: sa username: sa
password: password:
jpa:
properties:
hibernate:
dialect: org.hibernate.dialect.H2Dialect
h2: h2:
console: console:
enabled: true enabled: true
@ -60,7 +65,13 @@ spring:
username: ${DB_USER:postgres} username: ${DB_USER:postgres}
password: ${DB_PASSWORD:postgres} password: ${DB_PASSWORD:postgres}
driver-class-name: org.postgresql.Driver driver-class-name: org.postgresql.Driver
hikari:
maximum-pool-size: 3
minimum-idle: 1
idle-timeout: 30000
connection-timeout: 10000
leak-detection-threshold: 10000
jpa: jpa:
hibernate: hibernate:
ddl-auto: validate ddl-auto: update