fix(infra+workers): S3 creds, ffprobe, BullMQ awaits, thumbnail seek, bin optional, docker-compose vars, jobs Redis, recorders stop codes: client.js

This commit is contained in:
Zac Gaetano 2026-05-16 00:29:47 -04:00
parent dfb6ca6d50
commit bb069760fe

View file

@ -3,10 +3,10 @@ import { Upload } from '@aws-sdk/lib-storage';
const s3Client = new S3Client({ const s3Client = new S3Client({
endpoint: process.env.S3_ENDPOINT, endpoint: process.env.S3_ENDPOINT,
region: process.env.AWS_REGION || 'us-east-1', region: process.env.S3_REGION || 'us-east-1',
credentials: { credentials: {
accessKeyId: process.env.AWS_ACCESS_KEY_ID, accessKeyId: process.env.S3_ACCESS_KEY,
secretAccessKey: process.env.AWS_SECRET_ACCESS_KEY, secretAccessKey: process.env.S3_SECRET_KEY,
}, },
forcePathStyle: true, forcePathStyle: true,
}); });