mirror of https://github.com/bvn13/covid19-ru.git
49 lines
1.0 KiB
YAML
49 lines
1.0 KiB
YAML
|
app:
|
||
|
zone-id: Europe/Moscow
|
||
|
|
||
|
spring:
|
||
|
application:
|
||
|
name: covid19-api
|
||
|
|
||
|
cache:
|
||
|
type: caffeine
|
||
|
caffeine:
|
||
|
spec: expireAfterWrite=15m
|
||
|
cache-names: covid-last-update-info, covid-stats-by-update-info-id
|
||
|
|
||
|
datasource:
|
||
|
driver-class-name: org.postgresql.Driver
|
||
|
url: jdbc:postgresql://localhost:5432/covid19
|
||
|
username: <covid19>
|
||
|
password: <covid19pass>
|
||
|
|
||
|
jpa:
|
||
|
show-sql: true
|
||
|
hibernate:
|
||
|
dialect: org.hibernate.dialect.PostgreSQL
|
||
|
ddl-auto: update
|
||
|
|
||
|
properties:
|
||
|
hibernate:
|
||
|
use_sql_comments: true
|
||
|
format_sql: true
|
||
|
show_sql: true
|
||
|
jdbc:
|
||
|
lob:
|
||
|
non_contextual_creation: true
|
||
|
logging:
|
||
|
level:
|
||
|
root: info
|
||
|
com:
|
||
|
bvn13:
|
||
|
covid19: debug
|
||
|
org:
|
||
|
springframework: warn
|
||
|
hibernate:
|
||
|
SQL: debug
|
||
|
type:
|
||
|
descriptor:
|
||
|
sql:
|
||
|
BasicBinder: trace
|
||
|
pattern:
|
||
|
console: "%d{dd-MM-yyyy HH:mm:ss.SSS} %highlight(%-5level) %magenta([%thread]) %yellow(%logger.%M) - %msg%n"
|