summaryrefslogtreecommitdiff
path: root/lib/config
diff options
context:
space:
mode:
authorMathias Merscher2019-02-11 17:31:45 +0100
committerMathias Merscher2019-02-11 17:45:24 +0100
commit9613197f5d26efd699a00e322dc12a862ea3417b (patch)
treec419f0fe34f449c3b5e031ac44d52bfb30cf42d2 /lib/config
parentb28201176ed522c6a57f6fcb7d0885807badfdf4 (diff)
make aws s3 endpoint configurable
Signed-off-by: Mathias Merscher <Mathias.Merscher@dg-i.net>
Diffstat (limited to 'lib/config')
-rw-r--r--lib/config/environment.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/config/environment.js b/lib/config/environment.js
index a57fe0db..cdf87871 100644
--- a/lib/config/environment.js
+++ b/lib/config/environment.js
@@ -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,