From 7f4da08ff7af6f5d2a06001f70dae906a859c66e Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Thu, 1 Jun 2017 12:57:44 -0700 Subject: . --- attic/root-watcher/config.json.example | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 attic/root-watcher/config.json.example (limited to 'attic/root-watcher/config.json.example') 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" + } + } +} -- cgit v1.2.3