forked from dashevo/dapi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
40 lines (31 loc) · 1.22 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
#DAPI config settings sample and defaults
#To overwrite: create a new .env file in the project root then
#copy this file content and use custom values where applicable
# Set to true if you are going to run DAPI on the livenet.
LIVENET = false
# Ports on which DAPI server will listen for client requests
API_JSON_RPC_PORT = 2501
API_GRPC_PORT = 2500
TX_FILTER_STREAM_GRPC_PORT = 2510
# Protocol for connecting to dashcore RPC
DASHCORE_RPC_PROTOCOL = http
# DashCore service connection setting
DASHCORE_RPC_USER = dashrpc
DASHCORE_RPC_PASS = password
DASHCORE_RPC_HOST = 127.0.0.1
DASHCORE_RPC_PORT = 30002
DASHCORE_ZMQ_HOST = 127.0.0.1
DASHCORE_ZMQ_PORT = 30003
DASHCORE_P2P_HOST = 127.0.0.1
DASHCORE_P2P_PORT = 30001
DASHCORE_P2P_NETWORK = testnet
# Can be `testnet`, `regtest` and `livenet`
NETWORK = testnet
# Time in ms for garbage collecting inactive bloomfiltering clients
BLOOM_FILTER_PERSISTENCE_TIMEOUT = 60000
TENDERMINT_RPC_HOST=localhost
TENDERMINT_RPC_PORT=26657
# SERVICE_IMAGE_DRIVE= # Drive image name, if omitted dashpay/dashrive is used
# SERVICE_IMAGE_DAPI= # DAPI image name, if omitted dashpay/dapi is used
# SERVICE_IMAGE_CORE= # Dash Core image name, if omitted dashpay/dashcore is used
NODE_ENV=production