Use the config object.
This commit is contained in:
parent
2d22573588
commit
97deb78de6
2 changed files with 22 additions and 14 deletions
|
@ -9,6 +9,16 @@ const conf = convict({
|
|||
default: '',
|
||||
env: 'S3_BUCKET'
|
||||
},
|
||||
s3_endpoint: {
|
||||
format: String,
|
||||
default: '',
|
||||
env: 'S3_ENDPOINT'
|
||||
},
|
||||
s3_use_path_style_endpoint: {
|
||||
format: Boolean,
|
||||
default: false,
|
||||
env: 'S3_USE_PATH_STYLE_ENDPOINT'
|
||||
},
|
||||
gcs_bucket: {
|
||||
format: String,
|
||||
default: '',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue