-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
127 lines (108 loc) · 2.42 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
# has to be lower case
LOG_LEVEL=info
BASE_PATH=/
############
# MONGO DB #
############
DB_URL=mongodb://localhost:27017/appdb
DB_USERNAME=
DB_PASSWORD=
DB_NAME=appdb
DEFAULT_WRITE_CONCERN=majority
DEFAULT_WRITE_ACK_TIMEOUT=5000
############
# Jwt #
############
JWT_TOKEN_PUBLIC_KEY_URL=
# optional, if this is set, it will take precedence over fetching from the url
# if you provide the url instead this env key will be set in the process env from the url
JWT_TOKEN_PUBLIC_KEY=
############
# Vault #
############
# true or false
VAULT_ENABLED=false
VAULT_SECRETS_PATH=
VAULT_URL=
VAULT_ROLE=
# for local development/testing
VAULT_TOKEN=
############
# EGO #
############
# to disable set to =false, any other falsy value is not considered false.
AUTH_ENABLED=true
#JWT_KEY_URL=http://localhost:8088/api/oauth/token/public_key
JWT_KEY=
DACO_SYSTEM_SCOPE=
DACO_REVIEW_POLICY_NAME=DACO-REVIEW
############
# Storage #
############
OBJECT_STORAGE_ENDPOINT=http://localhost:8085
OBJECT_STORAGE_REGION=nova
OBJECT_STORAGE_BUCKET=daco
OBJECT_STORAGE_KEY=minio
OBJECT_STORAGE_SECRET=minio123
OBJECT_STORAGE_TIMEOUT_MILLIS=5000
############
# EMAIL #
############
EMAIL_HOST=localhost
EMAIL_PORT=1025
EMAIL_USER=
EMAIL_PASSWORD=
EMAIL_FROM_NAME=DacoAdmin
# for emails directed to daco reviewers
EMAIL_REVIEWER_FIRSTNAME=DACO
EMAIL_REVIEWER_LASTNAME=ADMIN
DCC_MAILING_LIST=
DACO_SURVEY_URL=
##############
# UI #
##############
DACO_UI_BASE_URL=http://localhost:3000
DACO_UI_APPLICATION_SECTION_PATH=/applications/{id}?section={section}
##############
# Misc #
##############
FILE_UPLOAD_LIMIT=#in bytes x * 1024 * 1024
##############
# DURATIONS #
##############
# ATTESTATION
ATTESTATION_UNIT_COUNT=1
ATTESTATION_UNIT_OF_TIME=years
DAYS_TO_ATTESTATION=45
# EXPIRY
DAYS_TO_EXPIRY_1=90
DAYS_TO_EXPIRY_2=45
DAYS_POST_EXPIRY=90
EXPIRY_UNIT_COUNT=2
EXPIRY_UNIT_OF_TIME=years
#############
# Daco Encryption
#############
DACO_ENCRYPTION_KEY=
#############
# Feature flags
#############
FEATURE_RENEWAL_ENABLED=false
FEATURE_ADMIN_PAUSE_ENABLED=false
FEATURE_EGA_RECONCILIATION_ENABLED=false
#############
# EGA
#############
EGA_CLIENT_ID=
EGA_AUTH_HOST=
EGA_AUTH_REALM_NAME=
EGA_API_URL=
EGA_USERNAME=
EGA_PASSWORD=
DAC_ID=
EGA_MAX_REQUEST_LIMIT=3;
EGA_MAX_REQUEST_INTERVAL=1000; # in milliseconds
EGA_MAX_REQUEST_RETRIES=3
EGA_MAX_ACCESS_TOKEN_REQUEST_RETRIES=5