tracker/example_config.yaml

41 lines
750 B
YAML
Raw Normal View History

2016-08-16 21:42:08 -04:00
chihaya:
2016-08-03 08:25:45 +00:00
announce_interval: 15m
2016-08-05 03:35:17 -04:00
prometheus_addr: localhost:6880
2016-08-05 01:47:04 -04:00
2016-08-03 08:25:45 +00:00
http:
addr: 0.0.0.0:6881
2016-08-09 20:29:52 -04:00
allow_ip_spoofing: false
2016-08-03 08:25:45 +00:00
real_ip_header: x-real-ip
read_timeout: 5s
write_timeout: 5s
request_timeout: 5s
2016-08-05 01:47:04 -04:00
2016-08-03 08:25:45 +00:00
udp:
addr: 0.0.0.0:6881
2016-08-09 20:29:52 -04:00
allow_ip_spoofing: false
2016-08-05 01:47:04 -04:00
2016-08-03 08:25:45 +00:00
storage:
2016-08-16 20:32:38 -04:00
gc_interval: 14m
peer_lifetime: 15m
shards: 1
max_numwant: 100
2016-08-05 01:47:04 -04:00
2016-08-03 08:25:45 +00:00
prehooks:
- name: jwt
config:
2016-08-31 21:09:34 -04:00
issuer: https://issuer.com
audience: https://chihaya.issuer.com
jwk_set_uri: https://issuer.com/keys
2016-08-03 08:25:45 +00:00
jwk_set_update_interval: 5m
2016-09-01 20:30:53 -04:00
- name: client approval
2016-08-03 08:25:45 +00:00
config:
2016-09-01 20:30:53 -04:00
whitelist:
2016-08-03 08:25:45 +00:00
- OP1011
2016-09-01 20:30:53 -04:00
blacklist:
- OP1012
2016-08-05 01:47:04 -04:00
2016-08-03 08:25:45 +00:00
posthooks:
2016-08-05 01:47:04 -04:00
- name: gossip
2016-08-09 20:29:52 -04:00
config:
boostrap_node: 127.0.0.1:6881