al_sh.springBoot-multiTenant.1.0.2.source-code.application.yml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of springBoot-multiTenant Show documentation
Show all versions of springBoot-multiTenant Show documentation
MultiTenant on top of SpringBoot
spring:
main:
allow-bean-definition-overriding: true
datasource:
url: ${BUDGET_DATASOURCE_URL:jdbc:postgresql://localhost:5432/postgres}
username: ${DB_USERNAME:postgres}
password: ${DB_PASSWORD:postgres}
driver-class-name: org.postgresql.Driver
hikari:
minimum-idle: 5
maximum-pool-size: 10
connection-timeout: 30000
idle-timeout: 600
max-lifetime: 360000
#leak-detection-threshold: 200000
data-source-properties:
reWriteBatchedInserts: true
jpa:
show_sql: true
properties:
pageSize: 50
hibernate:
order_inserts: true
order_updates: true
jdbc:
batch_size: 20
hibernate:
format_sql: true
ddl-auto: update
naming:
physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
package-to-scan: com.rujal.multitenant.domain
multi-tenancy: SCHEMA
database-platform: org.hibernate.dialect.PostgreSQLDialect