This repository was archived by the owner on Oct 28, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
34 lines (31 loc) · 1.45 KB
/
.env.example
File metadata and controls
34 lines (31 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Mongodb connection options
# If you get this error: unable to authenticate using mechanism "SCRAM-SHA-1"
# You might need to add: ?authSource=admin
MONGODB_URI=mongodb://localhost:27017/rtcv
# Make sure you have created this database
MONGODB_DATABASE=rtcv
# Use a in memory DB that forgets it's data once the application stops
# Handy for testing the application with a clean slate
# This should NOT BE USED in production
#
# Currently this is used by the tests to ensure a clean database for each test
# Beside that this also means we don't need a mongodb server running to run the tests, very handy for the cd/ci
USE_TESTING_DB=false
# Turn this on to enable backups to an s3 bucket
# Field below only required if set to true
MONGODB_BACKUP_ENABLED=false
# The backup key should be a randomly generated key that is then used to encrypt the generated backup files
# A secure key can be created using:
# openssl rand -hex 16
# Note that this key is not used by mongodb, it's only used to encrypt data from mongodb we insert into the backup file
MONGODB_BACKUP_KEY=generate-this-value
# The S3 bucket to store the backups in
BACKUP_S3_ENDPOINT=s3.example.com
BACKUP_S3_ACCESS_KEY_ID=
BACKUP_S3_SECRET_ACCESS_KEY=
BACKUP_S3_BUCKET=rtcv-backups
BACKUP_S3_USE_SSL=true
# On errors, warnings and fatals, log them to a slack channel
# The SLACK_ENVIRONMENT is added to the message to show from wich envourment the error came from
SLACK_ENVIRONMENT=development
SLACK_WEBHOOK_URL=