make aws s3 endpoint configurable

Signed-off-by: Mathias Merscher <Mathias.Merscher@dg-i.net>
This commit is contained in:
Mathias Merscher 2019-02-11 17:31:45 +01:00
parent b28201176e
commit 9613197f5d
No known key found for this signature in database
GPG key ID: 4A755087FFC2C49C
2 changed files with 5 additions and 2 deletions
lib/config

View file

@ -40,7 +40,8 @@ module.exports = {
s3: {
accessKeyId: process.env.CMD_S3_ACCESS_KEY_ID,
secretAccessKey: process.env.CMD_S3_SECRET_ACCESS_KEY,
region: process.env.CMD_S3_REGION
region: process.env.CMD_S3_REGION,
endpoint: process.env.CMD_S3_ENDPOINT
},
minio: {
accessKey: process.env.CMD_MINIO_ACCESS_KEY,