summaryrefslogtreecommitdiff
path: root/attic/root-watcher/config.json.example
diff options
context:
space:
mode:
Diffstat (limited to 'attic/root-watcher/config.json.example')
-rw-r--r--attic/root-watcher/config.json.example30
1 files changed, 30 insertions, 0 deletions
diff --git a/attic/root-watcher/config.json.example b/attic/root-watcher/config.json.example
new file mode 100644
index 00000000..0ad1bbe1
--- /dev/null
+++ b/attic/root-watcher/config.json.example
@@ -0,0 +1,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"
+ }
+ }
+}