-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathdotenv
132 lines (103 loc) · 4.34 KB
/
dotenv
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
128
129
#------------------------------------------------------------
# GENERAL
#------------------------------------------------------------
NETWORK="regtest"
#------------------------------------------------------------
# TRAEFIK
#------------------------------------------------------------
TRAEFIK_VERSION=latest
TRAEFIK_LOG=INFO
TRAEFIK_ACME_PROVIDER=lets-encrypt
TRAEFIK_ACME_EMAIL=hi@xyz.io
#------------------------------------------------------------
# API
#------------------------------------------------------------
API_DOMAIN="network.ordit.io"
API_URI="https://network.ordit.io"
API_HOST="0.0.0.0"
API_PORT=3030
API_REPLICAS=1
#------------------------------------------------------------
# WORKER
#------------------------------------------------------------
# Worker Server
# Configuration for the worker instance handling indexing and
# related operations. URI defines the global endpoint that
# can access the read layer. HOST and PORT settings defines
# the instance configuration.
WORKER_URI="http://127.0.0.1:3031"
WORKER_HOST="0.0.0.0"
WORKER_PORT=3031
#------------------------------------------------------------
# INDEXER OPTIONS
#------------------------------------------------------------
INDEX_OUTPUTS=true
INDEX_INSCRIPTIONS=true # dependant on INDEX_OUTPUTS=true
INDEX_RUNES=true # dependant on INDEX_OUTPUTS=true
INDEX_RUNES_ONLY=false # Optional, if set to true only runes will be indexed skiping outputs
# Deprecated
INDEX_BRC20=true
INDEX_SADO=true
INDEX_UTXOS=true
#------------------------------------------------------------
# INDEXER SETTINGS
#------------------------------------------------------------
INDEXER_MAX_HEIGHT=767430
INDEXER_START_HEIGHT=188700 # Set the start height to index from
INDEXER_COMMIT_BLOCKS=1000 # Set the limit at which blocks are concurrently processed.
INDEXER_DB_CHUNK_SIZE=1000 # Chunks of data for i/o ops against db. Keep between 1_000 - 10_000.
INDEXER_VOUT_CONCURRENCY_LIMIT=100 # Set the limit at which vouts are concurrently processed.
INDEXER_BLOCK_CONCURRENCY_LIMIT=8 # Set the limit at which blocks are concurrently fetched using getBlock RPC.
# ORD SERVER
# Currently used to serve our ability to track sat ranges and
# movements of envelopes on the bitcoin network. URI is used
# by the indexer to lookup dependent sat tracking.
ORD_URI="http://127.0.0.1:3032"
# SADO PARSER
# Index SADO outputs and resolve said outputs into optimized
# read collection for service consumption.
SADO_START_BLOCK=0
#------------------------------------------------------------
# BLOCKCHAIN
#------------------------------------------------------------
RPC_URI="http://127.0.0.1:18443" # regtest:18443 testnet:18332 signet:38332 mainnet:8332
RPC_PORT=18443
RPC_USER="bitcoin"
RPC_PASSWORD="bitcoin"
RPC_NOTIFY="http://host.docker.internal:3031"
# REORG
# For every new block we want to reverse lookup previous
# block hashes against local indexes to check for reorg
# events.
REORG_SCAN_LENGTH=10
REORG_MANUAL_THRESHOLD=10 # Threshold for automated recovery.
REORG_DEBUG=false # Log reorg trace for manual checks.
#------------------------------------------------------------
# IPFS
#------------------------------------------------------------
IPFS_GATEWAY=https://content.sado.space
IPFS_API=https://ipfs.sado.space
#------------------------------------------------------------
# DATABASES
#------------------------------------------------------------
MONGO_HOSTNAME="127.0.0.1"
MONGO_PORT=27017 # If srv connection is set to true, this should not be set
MONGO_DATABASE="bitcoin-regtest"
MONGO_USERNAME=""
MONGO_PASSWORD=""
MONGO_SRV_CONNECTION=false # Set to true if using MongoDB Atlas
MONGO_DIRECT_CONNECTION=false
# deployed database, is the current database used by the public RPC (mainnet/testnet).
# used for task script only, ex: for migration spent flag from previous active db to the new one
DEPLOYED_MONGO_HOSTNAME="127.0.0.1"
DEPLOYED_MONGO_PORT=27017 # If srv connection is set to true, this should not be set
DEPLOYED_MONGO_DATABASE="bitcoin-regtest"
DEPLOYED_MONGO_USERNAME=""
DEPLOYED_MONGO_PASSWORD=""
DEPLOYED_MONGO_SRV_CONNECTION=false # Set to true if using MongoDB Atlas
DEPLOYED_MONGO_DIRECT_CONNECTION=false
#------------------------------------------------------------
# REGTEST
#------------------------------------------------------------
FAUCET_SEED=""
FAUCET_AUTH=""