From e436c5471424e80828d7f62d977d5af279e42554 Mon Sep 17 00:00:00 2001 From: Petr Rudichev Date: Wed, 19 Feb 2025 10:53:12 +0300 Subject: [PATCH] build: update configuration --- src/main/resources/application.yml | 33 ++++++++++++++---------------- 1 file changed, 15 insertions(+), 18 deletions(-) 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