update example config
This commit is contained in:
parent
4df538d027
commit
35f7c5682f
1 changed files with 6 additions and 4 deletions
|
@ -1,13 +1,10 @@
|
||||||
trakr:
|
trakr:
|
||||||
announce_interval: 15m
|
announce_interval: 15m
|
||||||
gc_interval: 15m
|
|
||||||
gc_expiration: 15m
|
|
||||||
allow_ip_spoofing: true
|
|
||||||
default_num_want: 50
|
|
||||||
prometheus_addr: localhost:6880
|
prometheus_addr: localhost:6880
|
||||||
|
|
||||||
http:
|
http:
|
||||||
addr: 0.0.0.0:6881
|
addr: 0.0.0.0:6881
|
||||||
|
allow_ip_spoofing: false
|
||||||
real_ip_header: x-real-ip
|
real_ip_header: x-real-ip
|
||||||
read_timeout: 5s
|
read_timeout: 5s
|
||||||
write_timeout: 5s
|
write_timeout: 5s
|
||||||
|
@ -15,11 +12,14 @@ trakr:
|
||||||
|
|
||||||
udp:
|
udp:
|
||||||
addr: 0.0.0.0:6881
|
addr: 0.0.0.0:6881
|
||||||
|
allow_ip_spoofing: false
|
||||||
|
|
||||||
storage:
|
storage:
|
||||||
name: memory
|
name: memory
|
||||||
config:
|
config:
|
||||||
shards: 1
|
shards: 1
|
||||||
|
gc_interval: 15m
|
||||||
|
gc_expiration: 15m
|
||||||
|
|
||||||
prehooks:
|
prehooks:
|
||||||
- name: jwt
|
- name: jwt
|
||||||
|
@ -35,3 +35,5 @@ trakr:
|
||||||
|
|
||||||
posthooks:
|
posthooks:
|
||||||
- name: gossip
|
- name: gossip
|
||||||
|
config:
|
||||||
|
boostrap_node: 127.0.0.1:6881
|
||||||
|
|
Loading…
Reference in a new issue