From dc25c8cab25c6d6e4f8f2789c8735950a8ddcc6f Mon Sep 17 00:00:00 2001 From: Jimmy Zelinskie Date: Wed, 3 Aug 2016 08:25:45 +0000 Subject: [PATCH] add example_config.yaml --- example_config.yaml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 example_config.yaml diff --git a/example_config.yaml b/example_config.yaml new file mode 100644 index 0000000..199275c --- /dev/null +++ b/example_config.yaml @@ -0,0 +1,34 @@ +trakr: + announce_interval: 15m + allow_ip_spoofing: true + default_num_want: 50 + + http: + addr: 0.0.0.0:6881 + real_ip_header: x-real-ip + read_timeout: 5s + write_timeout: 5s + request_timeout: 5s + + udp: + addr: 0.0.0.0:6881 + + storage: + name: memory + config: + shards: 1 + + prehooks: + - name: jwt + config: + jwk_set_uri: "" + jwk_set_update_interval: 5m + jwt_audience: "" + - name: approved_client + config: + type: whitelist + clients: + - OP1011 + + posthooks: + - name: gossip \ No newline at end of file