This commit is contained in:
2026-10-23 17:49:14 +03:00
parent 1fddc0e76c
commit f39147689a
23 changed files with 1351 additions and 10 deletions
+31 -1
View File
@@ -38,6 +38,13 @@ spring:
cache:
type: redis
servlet:
multipart:
max-file-size: ${MAX_UPLOAD_BYTES:10485760}
max-request-size: ${MAX_UPLOAD_BYTES:10485760}
file-size-threshold: 0
resolve-lazily: false
server:
address: ${APP_HOST:0.0.0.0}
port: ${APP_PORT:8080}
@@ -81,9 +88,32 @@ app:
keep-alive-interval: ${REDIS_KEEP_ALIVE_INTERVAL:10s}
tcp-user-timeout: ${REDIS_TCP_USER_TIMEOUT:10s}
s3:
endpoint: ${S3_ENDPOINT:http://minio:9000}
bucket: ${S3_BUCKET:messenger-attachments}
region: ${S3_REGION:us-east-1}
access-key: ${S3_ACCESS_KEY_ID:}
secret-key: ${S3_SECRET_ACCESS_KEY:}
path-style-access: true
presign-expiry-seconds: ${S3_PRESIGN_EXPIRY_SECONDS:300}
upload:
max-bytes: ${MAX_UPLOAD_BYTES:10485760}
max-pixels: ${MAX_IMAGE_PIXELS:40000000}
allowed-content-types:
- image/png
- image/jpeg
reconciler:
enabled: ${RECONCILER_ENABLED:true}
interval-ms: ${RECONCILER_INTERVAL_MS:3600000}
grace-period-minutes: ${RECONCILER_GRACE_PERIOD_MINUTES:15}
dry-run: ${RECONCILER_DRY_RUN:false}
logging:
pattern:
console: "%d{ISO8601} %-5level [%X{requestId}] %logger{20} - %msg%n"
level:
org.springframework.cache: TRACE
org.springframework.cache.interceptor: TRACE
org.springframework.cache.interceptor: TRACE
software.amazon.awssdk: DEBUG