# Common Application Properties
# Ref: https://docs.spring.io/spring-boot/docs/current/reference/html/application-properties.html
spring:
  datasource:
    url: jdbc:postgresql://172.17.0.1:5432/<database-name>
    driverClassName: org.postgresql.Driver
    username: yadav
    password: yadav
  jpa:
    generate-ddl: true
    show-sql: true
      hibernate:
        ddl-auto: create-drop
    properties:
      hibernate.format_sql: true

# Server
# https://docs.spring.io/spring-boot/docs/current/reference/html/application-properties.html#appendix.application-properties.server
server:
  port: 8080
  error:
    include-message: always

# Ref: https://docs.spring.io/spring-boot/docs/current/reference/html/features.html#features.logging
logging:
  file:
    path: log
    name: application.log
  level:
    root: info
    org.springframework: info
    org.hibernate.SQL: debug
    org.hibernate.type.descriptor.sql.BasicBinder: trace
