forked from UnownHash/Golbat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.toml.example
65 lines (53 loc) · 2.33 KB
/
config.toml.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
port = 9001 # Listening port for golbat
#grpc_port = 50001 # Listening port for grpc
raw_bearer = "" # Raw bearer (password) required
api_secret = "golbat" # Golbat secret required on api calls (blank for none)
pokemon_memory_only = false # Use in-memory storage for pokemon only
[koji]
url = "http://{koji_url}/api/v1/geofence/feature-collection/{golbat_project}"
bearer_token = "secret"
[cleanup]
pokemon = true # Keep pokemon table is kept nice and short
incidents = true # Remove incidents after expiry
quests = true # Remove quests after expiry
stats = true # Enable/Disable stats history
stats_days = 7 # Remove entries from "pokemon_stats", "pokemon_shiny_stats", "pokemon_iv_stats", "pokemon_hundo_stats", "pokemon_nundo_stats", "invasion_stats", "quest_stats", "raid_stats" after x days
device_hours = 24 # Remove devices from in memory after not seen for x hours
[logging]
debug = false
save_logs = true
max_size = 50 # Size in MB
max_backups = 10 # Amount of files to keep
max_age = 30 # Day(s) to keep files
compress = true # Compress to gz archive
[database]
user = ""
password = ""
address = "127.0.0.1:3306"
db = ""
[pvp]
enabled = true
include_hundos_under_cap = false
# you can enable prometheus by uncommenting this section
#[prometheus]
#enabled = true
# You can specify more than one webhook destination by including the [[webhooks]] section
# multiple times. The hook types can optionally be filtered by using the types array
[[webhooks]]
url = "http://localhost:4201"
# types if specified can be...
# types = ["pokemon", "pokemon_iv", "pokemon_no_iv", "gym", "invasion", "quest", "pokestop", "raid", "weather", "fort_update"]
# "pokemon" includes both with ivs and without. "pokemon_iv" will only be encountered pokemon. "pokemon_no_iv" may be nearby pokemon that have not been encountered (yet).
#[[webhooks]]
#url = "http://localhost:4202"
#types = ["raid"]
#headers = ["X-Poracle-Secret:abc", "Other-Header:def"]
#[[webhooks]]
#url = "http://localhost:4202"
#types = ["raid"]
#areas = ["London/*", "*/Harrow", "Harrow"]
[tuning]
max_pokemon_distance = 100 # Maximum distance in kilometers for searching pokemon
max_pokemon_results = 3000 # Maximum number of pokemon to return
extended_timeout = false
profile_routes = false