[ops] Add production lightning backend configurations

This commit is contained in:
wiz 2022-08-27 18:57:59 +02:00
parent 1a756c5fa9
commit 6f87fd9c89
No known key found for this signature in database
GPG Key ID: A394E332255A6173
3 changed files with 137 additions and 0 deletions

View File

@ -0,0 +1,49 @@
{
"MEMPOOL": {
"NETWORK": "mainnet",
"BACKEND": "esplora",
"HTTP_PORT": 8993,
"INDEXING_BLOCKS_AMOUNT": 0,
"API_URL_PREFIX": "/api/v1/"
},
"SYSLOG": {
"MIN_PRIORITY": "debug"
},
"CORE_RPC": {
"PORT": 8332,
"USERNAME": "__BITCOIN_RPC_USER__",
"PASSWORD": "__BITCOIN_RPC_PASS__"
},
"ESPLORA": {
"REST_API_URL": "http://127.0.0.1:4000"
},
"LIGHTNING": {
"ENABLED": true,
"BACKEND": "cln",
"GRAPH_REFRESH_INTERVAL": 60,
"TOPOLOGY_FOLDER": "/cln/topology/output"
},
"LND": {
"REST_API_URL": "https://127.0.0.1:8888",
"TLS_CERT_PATH": "/lnd/.lnd/tls.cert",
"MACAROON_PATH": "/lnd/.lnd/data/chain/bitcoin/mainnet/readonly.macaroon"
},
"CLIGHTNING": {
"SOCKET": "/cln/.lightning/bitcoin/lightning-rpc"
},
"MAXMIND": {
"ENABLED": true,
"GEOLITE2_CITY": "/usr/local/share/GeoIP/GeoIP2-City.mmdb"
},
"STATISTICS": {
"ENABLED": false
},
"DATABASE": {
"ENABLED": true,
"HOST": "127.0.0.1",
"PORT": 3306,
"DATABASE": "mempool_mainnet_lightning",
"USERNAME": "mempool_mainnet_lightning",
"PASSWORD": "mempool_mainnet_lightning"
}
}

View File

@ -0,0 +1,44 @@
{
"MEMPOOL": {
"NETWORK": "signet",
"BACKEND": "esplora",
"HTTP_PORT": 8991,
"INDEXING_BLOCKS_AMOUNT": 0,
"API_URL_PREFIX": "/api/v1/"
},
"SYSLOG": {
"MIN_PRIORITY": "debug"
},
"CORE_RPC": {
"PORT": 38332,
"USERNAME": "__BITCOIN_RPC_USER__",
"PASSWORD": "__BITCOIN_RPC_PASS__"
},
"ESPLORA": {
"REST_API_URL": "http://127.0.0.1:4003"
},
"LIGHTNING": {
"ENABLED": true,
"BACKEND": "cln",
"GRAPH_REFRESH_INTERVAL": 60,
"TOPOLOGY_FOLDER": ""
},
"CLIGHTNING": {
"SOCKET": "/cln/.lightning/signet/lightning-rpc"
},
"MAXMIND": {
"ENABLED": true,
"GEOLITE2_CITY": "/usr/local/share/GeoIP/GeoIP2-City.mmdb"
},
"STATISTICS": {
"ENABLED": false
},
"DATABASE": {
"ENABLED": true,
"HOST": "127.0.0.1",
"PORT": 3306,
"USERNAME": "mempool_signet_lightning",
"PASSWORD": "mempool_signet_lightning",
"DATABASE": "mempool_signet_lightning"
}
}

View File

@ -0,0 +1,44 @@
{
"MEMPOOL": {
"NETWORK": "testnet",
"BACKEND": "esplora",
"HTTP_PORT": 8992,
"INDEXING_BLOCKS_AMOUNT": 0,
"API_URL_PREFIX": "/api/v1/"
},
"SYSLOG": {
"MIN_PRIORITY": "debug"
},
"CORE_RPC": {
"PORT": 18332,
"USERNAME": "__BITCOIN_RPC_USER__",
"PASSWORD": "__BITCOIN_RPC_PASS__"
},
"ESPLORA": {
"REST_API_URL": "http://127.0.0.1:4002"
},
"LIGHTNING": {
"ENABLED": true,
"BACKEND": "cln",
"GRAPH_REFRESH_INTERVAL": 60,
"TOPOLOGY_FOLDER": ""
},
"CLIGHTNING": {
"SOCKET": "/cln/.lightning/testnet/lightning-rpc"
},
"MAXMIND": {
"ENABLED": true,
"GEOLITE2_CITY": "/usr/local/share/GeoIP/GeoIP2-City.mmdb"
},
"STATISTICS": {
"ENABLED": false
},
"DATABASE": {
"ENABLED": true,
"HOST": "127.0.0.1",
"PORT": 3306,
"USERNAME": "mempool_testnet_lightning",
"PASSWORD": "mempool_testnet_lightning",
"DATABASE": "mempool_testnet_lightning"
}
}