-
Notifications
You must be signed in to change notification settings - Fork 16
/
config.template.toml
87 lines (67 loc) · 2.01 KB
/
config.template.toml
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
[mongodb]
### Listening address of the MongoDB instance.
conn_str = "mongodb://localhost:27017"
### MongoDB credentials. These fields are ignored if the connection string already contains credentials.
username = "root"
password = "root"
### Chronicle allows different database names, so multiple
### networks can run within the same MongoDB instance.
database_name = "chronicle"
### The minimum amount of connections in the pool.
min_pool_size = 2
[influxdb]
### Whether influx time-series data will be written.
enabled = true
### URL pointing to the InfluxDB instance.
url = "http://localhost:8086"
### The database name used for analytics.
database_name = "chronicle_analytics"
### InfluxDb basic credentials.
username = "root"
password = "password"
[api]
### Whether API requests will be served.
enabled = true
### API listening port.
port = 8042
### CORS.
allow_origins = "0.0.0.0"
### JsonWebToken (JWT) credentials.
password_hash = "f36605441dd3b99a0448bc76f51f0e619f47051989cfcbf2fef18670f21799ad" # "password"
password_salt = "saltines"
jwt_expiration = "72h"
### Public API routes.
public_routes = [
# Activated APIs.
"api/analytics/v2/*",
"api/core/v2/*",
]
### Maximum number of records returned by a single API call
max_page_size = 1000
[api.argon_config]
### The length of the resulting hash.
hash_length = 32
### The number of lanes in parallel.
parallelism = 1
### The amount of memory requested (KB).
mem_cost = 4096
### The number of passes.
iterations = 3
### The variant.
variant = "argon2i"
### The version.
version = "0x13"
[inx]
### Whether INX is used for writing data.
enabled = true
### Listening address of the node's INX interface.
connect_url = "http://localhost:9029"
### Time to wait until a new connection attempt is made.
connection_retry_interval = "5s"
### Maximum number of tries to establish an INX connection.
connection_retry_count = 30
[loki]
### Whether Grafana Loki is used for writing logs.
enabled = true
### The Grafana Loki connection URL.
connect_url = "http://localhost:3100"