start backend
This commit is contained in:
36
src/main/resources/application.yaml
Normal file
36
src/main/resources/application.yaml
Normal 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
|
||||
Reference in New Issue
Block a user