forked from Pigeoncoin/pgn-rpc-explorer
-
Notifications
You must be signed in to change notification settings - Fork 29
/
.env-docker
124 lines (101 loc) · 3.7 KB
/
.env-docker
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
# Optional logging settings, uncomment one of these example lines or add your own.
# See comments after each for more info.
# Default: "btcexp:app,btcexp:error"
#DEBUG=* # Enable all logging, including middleware
#DEBUG=btcexp:* # Enable all logging specific to btc-rpc-explorer
#DEBUG=btcexp:app,btcexp:error # Default
# The active coin. Only officially supported value is "BTC".
# Default: BTC
BTCEXP_COIN=RTM
# Host/Port to bind to
# Defaults: shown
BTCEXP_HOST=0.0.0.0
BTCEXP_PORT=8888
#BTCEXP_HTTPS=true
#BTCEXP_HTTPS_KEY=/etc/letsencrypt/live/explorer.pigeoncoin.org/privkey.pem
#BTCEXP_HTTPS_CERT=/etc/letsencrypt/live/explorer.pigeoncoin.org/fullchain.pem
#BTCEXP_HTTPS_PORT=443
# Bitcoin RPC Credentials (URI -OR- HOST/PORT/USER/PASS)
# Defaults:
# - [host/port]: 127.0.0.1:8332
# - [username/password]: none
# - cookie: '~/.bitcoin/.cookie'
# - timeout: 5000 (ms)
#BTCEXP_BITCOIND_URI=bitcoin://rpcusername:[email protected]:8332?timeout=10000
BTCEXP_BITCOIND_HOST=raptoreumd
BTCEXP_BITCOIND_PORT=8667
BTCEXP_BITCOIND_USER=user
BTCEXP_BITCOIND_PASS=pass
BTCEXP_BITCOIND_ZMQ_PORT=8668
#BTCEXP_BITCOIND_COOKIE=/path/to/bitcoind/.cookie
BTCEXP_BITCOIND_RPC_TIMEOUT=10000
# Select optional "address API" to display address tx lists and balances
# Options: electrumx, blockchain.com, blockchair.com, blockcypher.com
# If electrumx set, the BTCEXP_ELECTRUMX_SERVERS variable must also be
# set.
# Default: none
BTCEXP_ADDRESS_API=daemonRPC
# Optional ElectrumX Servers. See BTCEXP_ADDRESS_API. This value is only
# used if BTCEXP_ADDRESS_API=electrumx
#BTCEXP_ELECTRUMX_SERVERS=tls://192.168.1.13:50031,tcp://192.168.1.13:50030
# Set number of concurrent RPC requests. Should be lower than your node's "rpcworkqueue" value.
# Note that Bitcoin Core's default rpcworkqueue=16.
# Default: 10
BTCEXP_RPC_CONCURRENCY=2000
#Mongo DB connection use for story address balances for richlist, exchanges api information
DB_URL=mongodb
DB_PORT=27017
DB_USERNAME=rtmuser
DB_PASSWORD=pass
DB_DATABASE=rtmexplorer
# Disable app's in-memory RPC caching to reduce memory usage
# Default: false (i.e. in-memory cache **enabled**)
#BTCEXP_NO_INMEMORY_RPC_CACHE=true
# Optional redis server for RPC caching
# Default: none
BTCEXP_REDIS_URL=redis://redis:6379
#Max cache settings
MAX_ASSET_CACHE=1000
MAX_TX_CACHE=2000
MAX_BLOCK_CACHE=1000
MAX_MISC_CACHE=1000
MAX_MASTERNODE_CACHE=1000
# Default: hash of credentials
#BTCEXP_COOKIE_SECRET=0000aaaafffffgggggg
# Whether public-demo aspects of the site are active
# Default: false
#BTCEXP_DEMO=true
# Privacy mode disables:
# Exchange-rate queries, IP-geolocation queries
# Default: false
#BTCEXP_PRIVACY_MODE=true
# Don't request currency exchange rates
# Default: true (i.e. no exchange-rate queries made)
BTCEXP_NO_RATES=false
# Password protection for site via basic auth (enter any username, only the password is checked)
# Default: none
#BTCEXP_BASIC_AUTH_PASSWORD=mypassword
# Enable to allow access to all RPC methods
# Default: false
#BTCEXP_RPC_ALLOWALL=true
# Custom RPC method blacklist
# Default: (see config.js)
#BTCEXP_RPC_BLACKLIST=signrawtransaction,sendtoaddress,stop,...
# Optional API keys
# Default: none
#BTCEXP_GANALYTICS_TRACKING=UA-XXXX-X
#BTCEXP_SENTRY_URL=https://[email protected]/XXXX
#BTCEXP_IPSTACK_APIKEY=000000fffffaaaaa
# Optional value for "max_old_space_size"
# Default: 1024
#BTCEXP_OLD_SPACE_MAX_SIZE=8096
# Show tools list in a sub-nav at top of screen
# Default: true
BTCEXP_UI_SHOW_TOOLS_SUBHEADER=false
#API Request limitter exceptions
UNLIMIT_IPS=localhost,127.0.0.1
#limit count is max allow requests per limit window in min
BTCEXP_HTTP_REQUEST_LIMIT_COUNT=100
BTCEXP_HTTP_REQUEST_LIMIT_WINDOW=1
#Third party blockchain api
CHAIN_API_URL=https://35.197.54.25:8443/api/v1