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:
parent
bb069760fe
commit
b2da06b4cc
1 changed files with 3 additions and 3 deletions
|
|
@ -4,11 +4,11 @@ import { pipeline } from 'stream/promises';
|
|||
|
||||
const createS3Client = () => {
|
||||
return new S3Client({
|
||||
region: process.env.AWS_REGION || 'us-east-1',
|
||||
region: process.env.S3_REGION || 'us-east-1',
|
||||
endpoint: process.env.S3_ENDPOINT,
|
||||
credentials: {
|
||||
accessKeyId: process.env.AWS_ACCESS_KEY_ID,
|
||||
secretAccessKey: process.env.AWS_SECRET_ACCESS_KEY,
|
||||
accessKeyId: process.env.S3_ACCESS_KEY,
|
||||
secretAccessKey: process.env.S3_SECRET_KEY,
|
||||
},
|
||||
forcePathStyle: true,
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue