summaryrefslogtreecommitdiff
path: root/root-watcher/config.json.example
blob: 0ad1bbe14ac18b1b78bb95cdadd8a4d1dc8c23a4 (plain)
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
{
	"interval": 30000,
	"dbSaveInterval": 60000,
	"peerTimeout": 600000,
	"db": {
		"database": "ztr",
		"user": "postgres",
		"password": "s00p3rs3kr3t",
		"host": "127.0.0.1",
		"port": 5432,
		"max": 16,
		"idleTimeoutMillis": 30000
	},
	"roots": {
		"my-root-01": {
			"id": 1,
			"ip": "10.0.0.1",
			"port": 9993,
			"authToken": "foobarbaz",
			"peers": "/peer"
		},
		"my-root-02": {
			"id": 2,
			"ip": "10.0.0.2",
			"port": 9993,
			"authToken": "lalafoo",
			"peers": "/peer"
		}
	}
}