diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index c6bfd72..0e48c65 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -1,28 +1,25 @@ +server: + port: 8080 + spring: + servlet: + multipart: + max-file-size: ${MAX_FILE_SIZE:8MB} + max-request-size: ${MAX_REQUEST_SIZE:8MB} datasource: - url: jdbc:h2:mem:testdb + url: jdbc:h2:mem:database h2: console: - #enabled: false enabled: true + liquibase: + enabled: true + change-log: classpath:db.changelog/db.changelog-master.xml + jpa: - #generate-ddl: false - generate-ddl: true - + generate-ddl: false hibernate: - #ddl-auto: none - ddl-auto: create-drop - - # Показываем запросы - show-sql: true - - # Своевременный запуск data.sql - defer-datasource-initialization: true - - spring-doc: - swagger-ui: - path: /swagger-ui.html - operationsSorter: method \ No newline at end of file + ddl-auto: none + show-sql: true \ No newline at end of file