47 lines
1001 B
YAML
47 lines
1001 B
YAML
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
|
|
|
|
minio:
|
|
endpoint: http://localhost:9010
|
|
bucket: refound-images
|
|
access-key: 59SWvKyRv7VZh4XT0p0H
|
|
secret-key: uRIPejW6DwSTwdICwxXRA71VuZAAVE9EmHBq7B7K
|
|
region: us-east-1 # MinIO не проверяет регион, но SDK требует значение
|
|
|
|
file:
|
|
upload-dir: uploads/
|
|
|
|
cache:
|
|
ttl: 300
|
|
|
|
jwt:
|
|
secret: mySuperSecretKeyForJwtTokenGenerationThatIsLongEnough2024!ReFound
|
|
expiration: 86400000 # 24 hours in milliseconds |