build: update configuration
This commit is contained in:
parent
fea3398af2
commit
e436c54714
@ -1,28 +1,25 @@
|
|||||||
|
server:
|
||||||
|
port: 8080
|
||||||
|
|
||||||
spring:
|
spring:
|
||||||
|
servlet:
|
||||||
|
multipart:
|
||||||
|
max-file-size: ${MAX_FILE_SIZE:8MB}
|
||||||
|
max-request-size: ${MAX_REQUEST_SIZE:8MB}
|
||||||
|
|
||||||
datasource:
|
datasource:
|
||||||
url: jdbc:h2:mem:testdb
|
url: jdbc:h2:mem:database
|
||||||
|
|
||||||
h2:
|
h2:
|
||||||
console:
|
console:
|
||||||
#enabled: false
|
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
||||||
|
liquibase:
|
||||||
|
enabled: true
|
||||||
|
change-log: classpath:db.changelog/db.changelog-master.xml
|
||||||
|
|
||||||
jpa:
|
jpa:
|
||||||
#generate-ddl: false
|
generate-ddl: false
|
||||||
generate-ddl: true
|
|
||||||
|
|
||||||
hibernate:
|
hibernate:
|
||||||
#ddl-auto: none
|
ddl-auto: none
|
||||||
ddl-auto: create-drop
|
show-sql: true
|
||||||
|
|
||||||
# Показываем запросы
|
|
||||||
show-sql: true
|
|
||||||
|
|
||||||
# Своевременный запуск data.sql
|
|
||||||
defer-datasource-initialization: true
|
|
||||||
|
|
||||||
spring-doc:
|
|
||||||
swagger-ui:
|
|
||||||
path: /swagger-ui.html
|
|
||||||
operationsSorter: method
|
|
Loading…
x
Reference in New Issue
Block a user