tracker/example_config.yaml

39 lines
664 B
YAML
Raw Normal View History

2016-08-17 03:42:08 +02:00
chihaya:
2016-08-03 10:25:45 +02:00
announce_interval: 15m
2016-08-05 09:35:17 +02:00
prometheus_addr: localhost:6880
2016-08-05 07:47:04 +02:00
2016-08-03 10:25:45 +02:00
http:
addr: 0.0.0.0:6881
2016-08-10 02:29:52 +02:00
allow_ip_spoofing: false
2016-08-03 10:25:45 +02:00
real_ip_header: x-real-ip
read_timeout: 5s
write_timeout: 5s
request_timeout: 5s
2016-08-05 07:47:04 +02:00
2016-08-03 10:25:45 +02:00
udp:
addr: 0.0.0.0:6881
2016-08-10 02:29:52 +02:00
allow_ip_spoofing: false
2016-08-05 07:47:04 +02:00
2016-08-03 10:25:45 +02:00
storage:
2016-08-17 02:32:38 +02:00
gc_interval: 14m
peer_lifetime: 15m
shards: 1
max_numwant: 100
2016-08-05 07:47:04 +02:00
2016-08-03 10:25:45 +02:00
prehooks:
- name: jwt
config:
jwk_set_uri: ""
jwk_set_update_interval: 5m
jwt_audience: ""
- name: approved_client
config:
type: whitelist
clients:
- OP1011
2016-08-05 07:47:04 +02:00
2016-08-03 10:25:45 +02:00
posthooks:
2016-08-05 07:47:04 +02:00
- name: gossip
2016-08-10 02:29:52 +02:00
config:
boostrap_node: 127.0.0.1:6881