Repository navigation
Expand file tree
/
Copy pathenv.sample
More file actions
62 lines (41 loc) · 1.95 KB
/
Copy pathenv.sample
File metadata and controls
62 lines (41 loc) · 1.95 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
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
# Application
WHITELISTED_CORS=["https://entity.hypersign.id","*"]
PORT=3001
# Database connection
BASE_DB_PATH="mongodb+srv://<username>:<password>@nodetest.dsj9j.mongodb.net"
DB_CONFIG="?retryWrites=true&w=majority"
# Provide public exposed service base url with / in the end
ENTITY_API_SERVICE_BASE_URL=http://api.entity.hypersign.id/
HID_NETWORK_RPC=https://rpc.prajna.hypersign.id/
HID_NETWORK_API=https://api.prajna.hypersign.id
HID_NETWORK_NAMESPACE=testnet
NETWORK='testnet'
# Keys dir (Optional)
EDV_CONFIG_DIR='.api-edv-config'
EDV_DID_FILE_PATH='.api-edv-config/edv-did.json'
EDV_KEY_FILE_PATH='.api-edv-config/edv-keys.json'
# KMS
## These three are same in entity developer dashboard service env
MNEMONIC="...grid antenna comic desk lunch test clutch case agree depend salmon dragon..."
JWT_SECRET='e8b86afe-3fc6-4c97-a44d'
# Data vault
EDV_BASE_URL=https://stage.hypermine.in/vault
VAULT_PREFIX='hs:developer-dashboard:'
# Prefix which gets attached to every new tenant subdomain
TENANT_SUBDOMAIN_PREFIX='ent-'
SERVICE_SUFFIX="SSI_API"
NODE_ENV= 'production'
// development
//notification
# Credit usage percentage thresholds for triggering credit usage notifications.
# Notifications will be sent when the consumed credits reach the configured percentages.
# Example: 90,100 means notification will be triggered at 90% and 100% credit usage.
CREDIT_USAGE_THRESHOLDS=90,100
# Credit expiry thresholds (in days) for triggering credit expiry notifications.
# Notifications will be sent when credits are about to expire based on the configured days.
# Example: 7,0 means notification will be sent 7 days before expiry and on the expiry date.
CREDIT_EXPIRY_THRESHOLDS=7,0
# BullMQ queue name used for processing dashboard notification jobs asynchronously.
DASHBOARD_NOTIFICATION_QUEUE=Credit-Usage-Notification-Queue
# BullMQ queue name used for processing dashboard notification jobs asynchronously.
DASHBOARD_NOTIFICATION_QUEUE=Credit-Usage-Notification-Queue