@@ -9,10 +9,34 @@ spring:
|
||||
hibernate:
|
||||
ddl-auto: update
|
||||
show-sql: true
|
||||
properties:
|
||||
hibernate:
|
||||
dialect: org.hibernate.dialect.PostgreSQLDialect
|
||||
format_sql: true
|
||||
|
||||
servlet:
|
||||
multipart:
|
||||
max-file-size: 10MB
|
||||
max-request-size: 100MB
|
||||
enabled: true
|
||||
resolve-lazily: false
|
||||
|
||||
file:
|
||||
storage:
|
||||
base-path: ${FILE_STORAGE_PATH:./uploads}
|
||||
chunk-size: 5242880 # 5MB
|
||||
temp-ttl-hours: 24
|
||||
max-file-size: 10737418240 # 10GB
|
||||
|
||||
server:
|
||||
port: ${SERVER_PORT:8080}
|
||||
|
||||
logging:
|
||||
level:
|
||||
root: INFO
|
||||
com.example.fileupload: DEBUG
|
||||
org.springframework.web: DEBUG
|
||||
org.hibernate.SQL: DEBUG
|
||||
file:
|
||||
name: logs/application.log
|
||||
pattern:
|
||||
console: "%d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n"
|
||||
Reference in New Issue
Block a user