all for lab2

This commit is contained in:
2026-10-13 15:27:39 +03:00
parent 65003b6119
commit 983ee548e0
68 changed files with 4760 additions and 24 deletions
+30
View File
@@ -0,0 +1,30 @@
spring:
lifecycle:
timeout-per-shutdown-phase: 10s
jackson:
default-property-inclusion: always
deserialization:
fail-on-unknown-properties: true
datasource:
url: ${DB_URL:jdbc:postgresql://localhost:5432/messenger}
username: ${DB_USERNAME:messenger}
password: ${DB_PASSWORD:messenger}
driver-class-name: org.postgresql.Driver
hikari:
maximum-pool-size: 10
minimum-idle: 2
connection-timeout: 5000
data:
redis:
host: ${REDIS_HOST:127.0.0.1}
port: ${REDIS_PORT:6379}
timeout: 3s
jpa:
hibernate:
ddl-auto: validate
open-in-view: false