-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.env.example
45 lines (42 loc) · 1.23 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
#
# Application
PORT=3000 ## If not specified defaults to 3333
# Available log levels
## Example: LOG_LEVELS=["log","error","warn","debug","verbose"]
LOG_LEVELS=["log","error","warn","debug"]
## Supported Modes
## Executor Monitoring MerchantMonitoring MerchantNotification
OPERATION_MODE=MerchantMonitoring
## Needed in case of MerchantMonitoring OR MerchantNotification Modes
MONITORING_ADDRESSES=[""]
#################################################
## Needed in case of MerchantNotification Mode
API_URL="https://backend_url_of_merchant.com/api/"
REQUEST_HEADER_KEY="x-access-token"
REQUEST_HEADER_VALUE="xxxxx"
#################################################
#
# Blockchain
SUPPORTED_NETWORKS=[97]
BLOCK_SCAN_THRESHOLD=1000
#################################################
## Only needed in case of Executor Mode
EXECUTOR_PRIVATE_KEY=
## Those two must be the same
SCHEDULER_INTERVAL_IN_SEC=300
# for more details on cron expressions
# https://crontab.cronhub.io/
SCHEDULER_CRON_EXPRESSION=0 */5 * * * *
#################################################
#
# Database
DB_DIALECT=mysql
DB_HOST=localhost
DB_PORT=3306
DB_USERNAME=root
DB_PASSWORD=root
DB_DATABASE=copa
DB_LOGGING=false
DB_SYNCHRONIZE=false
DB_DROP_SCHEMA=false
DB_MIGRATIONS_RUN=false