start backend

This commit is contained in:
SlimusMinus
2026-03-26 00:21:30 +03:00
parent 611b1c82ad
commit 263242e469
56 changed files with 1524 additions and 23 deletions

View File

@@ -0,0 +1,36 @@
spring:
servlet:
multipart:
max-file-size: 5MB
max-request-size: 10MB
datasource:
url: jdbc:postgresql://localhost:5432/nahodka
username: user
password: pass
driver-class-name: org.postgresql.Driver
jpa:
hibernate:
ddl-auto: update # на старте удобно
show-sql: true
properties:
hibernate:
format_sql: true
data:
redis:
host: localhost
port: 6379
cache:
type: redis
liquibase:
change-log: classpath:db/changelog/db.changelog-master.yaml
file:
upload-dir: uploads/
cache:
ttl: 300