42 lines
874 B
YAML
42 lines
874 B
YAML
# Spring Boot configuration
|
|
spring:
|
|
profiles:
|
|
active: development
|
|
# Database
|
|
datasource:
|
|
driver-class-name: org.postgresql.Driver
|
|
url: jdbc:postgresql://localhost:32768/postgres
|
|
username: postgres
|
|
password: qwer5795
|
|
# JPA properties
|
|
jpa:
|
|
hibernate:
|
|
ddl-auto: create
|
|
show-sql: true
|
|
database: postgresql
|
|
database-platform: org.hibernate.dialect.PostgreSQLDialect
|
|
open-in-view: false
|
|
generate-ddl: false
|
|
properties:
|
|
hibernate:
|
|
jdbc:
|
|
time_zone: UTC
|
|
security:
|
|
user:
|
|
name: admin
|
|
password: admin
|
|
gson:
|
|
date-format: "yyyy-MM-dd'T'HH:mm:ss.SSSXXX"
|
|
|
|
# Logger configuration
|
|
logging:
|
|
pattern:
|
|
console: "%d %-5level %logger : %msg%n"
|
|
level:
|
|
org.springframework: INFO
|
|
org.hibernate: DEBUG
|
|
# Server configuration
|
|
# server:
|
|
# port: 8080
|
|
# sessionTimeout: 30
|