Skip to content

Instantly share code, notes, and snippets.

@shri-kanth
Created June 4, 2019 06:01
Show Gist options
  • Select an option

  • Save shri-kanth/7e04b55671e3ea98cf38f357c72c88f5 to your computer and use it in GitHub Desktop.

Select an option

Save shri-kanth/7e04b55671e3ea98cf38f357c72c88f5 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