mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-19 19:25:53 +00:00
add example config
This commit is contained in:
41
example-config.json
Normal file
41
example-config.json
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
{
|
||||||
|
"database":
|
||||||
|
{
|
||||||
|
"type":"cassandra",
|
||||||
|
"cassandra":
|
||||||
|
{
|
||||||
|
"contact_points":"127.0.0.1",
|
||||||
|
"port":9042,
|
||||||
|
"keyspace":"clio",
|
||||||
|
"table_prefix":"",
|
||||||
|
"max_requests_outstanding":25000,
|
||||||
|
"threads":8
|
||||||
|
},
|
||||||
|
"postgres": {
|
||||||
|
"username":"postgres",
|
||||||
|
"password":"postgres",
|
||||||
|
"contact_point":"127.0.0.1",
|
||||||
|
"database":"clio"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"etl_sources":
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"ip":"127.0.0.1",
|
||||||
|
"ws_port":"6005",
|
||||||
|
"grpc_port":"50051"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"dos_guard":
|
||||||
|
{
|
||||||
|
"whitelist":["127.0.0.1"]
|
||||||
|
},
|
||||||
|
"server":{
|
||||||
|
"ip":"0.0.0.0",
|
||||||
|
"port":8080
|
||||||
|
},
|
||||||
|
"log_level":"debug",
|
||||||
|
"online_delete":0,
|
||||||
|
"extractor_threads":8,
|
||||||
|
"read_only":false
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user