tracker/example_config.yaml

38 lines
611 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
gc_interval: 15m
gc_expiration: 15m
2016-08-03 10:25:45 +02:00
allow_ip_spoofing: true
default_num_want: 50
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
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-05 07:47:04 +02:00
2016-08-03 10:25:45 +02:00
storage:
name: memory
config:
shards: 1
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