Enhance S3 error handling in StorageService and update .env.example documentation
- Added detailed error handling for S3 operations in StorageService to interpret and throw appropriate exceptions based on the response. - Updated .env.example to clarify the S3 endpoint configuration for MinIO in Docker.
This commit is contained in:
@@ -6,6 +6,7 @@ KEYCLOAK_AUDIENCE="toir-backend"
|
||||
KEYCLOAK_JWKS_URL=""
|
||||
|
||||
# MinIO / S3 (вложения оборудования)
|
||||
# В Docker: имя сервиса/контейнера MinIO и порт API S3 (обычно 9000), НЕ URL консоли (9001) и не NPM, если он отдаёт не S3 XML.
|
||||
S3_ENDPOINT="http://localhost:9000"
|
||||
S3_REGION="eu-central-1"
|
||||
S3_BUCKET="media"
|
||||
|
||||
Reference in New Issue
Block a user