diff --git a/pom.xml b/pom.xml
index 85d913d..ad366b3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -56,6 +56,10 @@
org.springframework.boot
spring-boot-starter-security
+
+ org.postgresql
+ postgresql
+
\ No newline at end of file
diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index c6bfd72..44f3faf 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -1,28 +1,18 @@
+server:
+ port: 80
spring:
-
- datasource:
- url: jdbc:h2:mem:testdb
-
- h2:
- console:
- #enabled: false
- enabled: true
-
jpa:
- #generate-ddl: false
- generate-ddl: true
-
- hibernate:
- #ddl-auto: none
- ddl-auto: create-drop
-
- # Показываем запросы
+ database: POSTGRESQL
show-sql: true
+ #defer-datasource-initialization: true
+ defer-datasource-initialization: false
+ hibernate:
+ ddl-auto: validate
+ #ddl-auto: create
+ datasource:
+ platform: postgres
+ url: jdbc:postgresql://localhost:5432/postgres?currentSchema=infinity_stack
+ username: postgres
+ password: MobileDev
+ driverClassName: org.postgresql.Driver
- # Своевременный запуск data.sql
- defer-datasource-initialization: true
-
- spring-doc:
- swagger-ui:
- path: /swagger-ui.html
- operationsSorter: method
\ No newline at end of file