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
dfb6ca6d50
commit
bb069760fe
1 changed files with 3 additions and 3 deletions
|
|
@ -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,
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue