-
Notifications
You must be signed in to change notification settings - Fork 4
/
settings.example.json
114 lines (114 loc) · 2.86 KB
/
settings.example.json
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
{
"instance_id": "account-address",
"pooler_namespace": "relevant-namespace",
"anchor_chain_rpc_url": "https://prost-rpc-url",
"local_cache_path": "/home/ubuntu/local_cache/",
"concurrency": 20,
"worker_concurrency": 100,
"http_client": {
"max_idle_conns": 5,
"max_conns_per_host": 5,
"max_idle_conns_per_host": 5,
"idle_conn_timeout": 60,
"connection_timeout": 60
},
"rabbitmq": {
"user": "guest",
"password": "guest",
"host": "rabbitmq",
"port": 5672,
"setup": {
"core": {
"commit_payload_exchange": "powerloom-backend-commit-payload:",
"exchange": "audit-protocol-backend",
"event_detector_exchange": "powerloom-backend-event-detector:"
},
"payload_commit": {
"queue_name_prefix": "powerloom-backend-commit-payload-queue:",
"routing_key_prefix": "powerloom-backend-commit-payload:"
},
"event_detector": {
"queue_name_prefix": "powerloom-event-detector:",
"routing_key_prefix": "powerloom-event-detector:"
}
}
},
"ipfs": {
"url": "ipfs-writer-url",
"writer_auth_config": {
"project_api_key": "ipfs-writer-key",
"project_api_secret": "ipfs-writer-secret"
},
"reader_url": "ipfs-reader-url",
"reader_auth_config": {
"project_api_key": "ipfs-reader-key",
"project_api_secret": "ipfs-reader-secret"
},
"write_rate_limit": {
"req_per_sec": 130,
"burst": 1
},
"read_rate_limit": {
"req_per_sec": 1200,
"burst": 1
},
"timeout": 120,
"max_idle_conns": 5,
"idle_conn_timeout": 0
},
"redis": {
"host": "redis",
"port": 6379,
"db": 0,
"password": null,
"pool_size": 10
},
"redis_reader": {
"host": "redis",
"port": 6379,
"db": 0,
"password": null,
"pool_size": 10
},
"web3_storage": {
"url": "https://api.web3.storage",
"upload_url_suffix": "/upload",
"api_token": "web3-storage-token",
"timeout_secs": 30,
"max_idle_conns": 5,
"idle_conn_timeout": 0,
"rate_limit": {
"req_per_sec": 3,
"burst": 1
}
},
"signer": {
"domain": {
"name": "PowerloomProtocolContract",
"version": "0.1",
"chainId": "prost-chain-id",
"verifyingContract": "protocol-state-contract"
},
"accountAddress": "signer-account-address",
"privateKey": "signer-account-private-key",
"deadlineBuffer": 30
},
"relayer": {
"host": "https://relayer-url",
"endpoint": "/submitSnapshot",
"timeout": 60
},
"pruning": {
"ipfs_pinning_max_age_in_days": 7,
"local_disk_max_age_in_days": 7,
"cron_frequency": "0 0 * * *"
},
"reporting": {
"slack_webhook_url": "https://slack-reporting-url",
"offchain_consensus_issue_endpoint": "https://powerloom-reporting-url"
},
"healthcheck": {
"port": 9000,
"endpoint": "/health"
}
}