tracker/example_config.yaml

40 lines
676 B
YAML
Raw Normal View History

2016-08-03 10:25:45 +02:00
trakr:
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:
name: memory
config:
shards: 1
gc_interval: 14m
peer_lifetime: 15m
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