Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,8 @@ module.exports = {
globals: {
'process': true,
'__dirname': true
},
env: {
jest: true
}
};
9 changes: 8 additions & 1 deletion config/custom-environment-variables.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
server:
logLevel: RTCSTATS_LOG_LEVEL
appEnvironment: RTCSTATS_ENVIRONMENT
serviceType: RTCSTATS_SERVICE_TYPE

amplitude:
key: RTCSTATS_AMPLITUDE_KEY
Expand Down Expand Up @@ -30,4 +31,10 @@ webhooks:

secretmanager:
region: RTCSTATS_AWS_SECRET_REGION
jwtSecretId: RTCSTATS_JWT_SECRET_ID
jwtSecretId: RTCSTATS_JWT_SECRET_ID

mongodb:
uri: RTCSTATS_MONGODB_URI
dbName: RTCSTATS_MONGODB_NAME
collectionName: RTCSTATS_METADATA_COLLECTION
gridfsBucketName: RTCSTATS_GRIDFS_BUCKET
10 changes: 9 additions & 1 deletion config/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ server:
certPath: './certs/cert.pem'
tempPath : 'temp'
appEnvironment: dev
# Set the service type. Can be "AWS" or "MongoDB".
serviceType: AWS

features:
disableFeatExtraction: false
Expand Down Expand Up @@ -66,4 +68,10 @@ webhooks:

secretmanager:
region:
jwtSecretId:
jwtSecretId:

mongodb:
uri:
dbName:
collectionName:
gridfsBucketName:
Loading