Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save sahanasj/f21815d25bbf15ff2e33a60ac9a8a1c3 to your computer and use it in GitHub Desktop.

Select an option

Save sahanasj/f21815d25bbf15ff2e33a60ac9a8a1c3 to your computer and use it in GitHub Desktop.
Spring Configuration File of application back-end
spring:
datasource:
type: com.zaxxer.hikari.HikariDataSource
hikari:
idle-timeout: 10000
platform: mysql
username: ${DB_USERNAME}
password: ${DB_PASSWORD}
url: jdbc:mysql://${DB_HOST}/${DB_NAME}
jpa:
hibernate:
naming:
physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment