-
Notifications
You must be signed in to change notification settings - Fork 9
/
.env-example
58 lines (44 loc) · 1.18 KB
/
.env-example
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
MONGODB_URI=mongodb://localhost:27017
MONGODB_NAME=subs
NODE_ENV=development
# +++++++
# CORS
cors='{"origin":"https://canada.ca","optionSucessStatus":200}'
# default: dev
LOG_FORMAT=dev
# NODE_ENV=prod
# ServerStatusPath=/admin/sys-status
# +++++++
# URL
# errorPage=https://canada.ca
# confirmBaseURL=https://apps.canada.ca/x-notify/subs/confirm/
# removeURL=https://apps.canada.ca/x-notify/subs/remove/
#
COMPLETED_JOBS_TO_KEEP=300 #Max number of completed jobs to keep in queue. Older jobs are automatically purged.
# +++++
# BasicAuth
user=username
password=password
keySalt=salt
validHosts=["localhost:8080"]
# Setting require to enable 50k more download
CDS_NOTIFY_END_POINT=
CDS_NOTIFY_KEY=
CDS_NOTIFY_SEND_EMAIL_TO=["email@ example.com"]
CDS_NOTIFY_TEMPLATE_ID=
AWS_ACCESS_KEY=
AWS_SECRET_ACCESS_KEY=
AWS_BUCKET=
# REDIS
REDIS_ENV=stage
REDIS_URI=x-notify-redis
REDIS_PORT=6379
REDIS_SENTINEL_1_URI=127.0.0.1
REDIS_SENTINEL_1_PORT=26379
REDIS_SENTINEL_2_URI=127.0.0.1
REDIS_SENTINEL_2_PORT=26379
REDIS_MASTER_NAME=x-notify-master
# Setting trasnport info
transport='{"host":"","port":"587","secure": true,"auth":{"user":"","pass":""}}'
# Prevent TLS error
NODE_TLS_REJECT_UNAUTHORIZED='0'