Skip to content

Commit

Permalink
chore: update example config to be more golbat-y
Browse files Browse the repository at this point in the history
  • Loading branch information
TurtIeSocks committed Mar 17, 2024
1 parent a8ab6a1 commit f4cf8d6
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions server/src/configs/local.example.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,27 +23,26 @@
"database": {
"schemas": [
{
"note": "Scanner Database",
"note": "Golbat Database",
"host": "127.0.0.1",
"port": 3306,
"username": "scanner_user",
"password": "scanner_paw",
"database": "scanner_db",
"username": "golbat_user",
"password": "golbat_pw",
"database": "golbat_db",
"useFor": [
"device",
"gym",
"pokemon",
"pokestop",
"scanCell",
"spawnpoint",
"weather",
"route"
"route",
"nest"
]
},
{
"note": "This is only if you are using golbat and in memory, if you do not know what that is, remove this whole section. If you are using it, you should remove 'device' and 'pokemon' from the scanner database useFor array",
"note": "This is only if you are using golbat and in memory, if you do not know what that is, remove this whole section.",
"type": "golbat",
"endpoint": "http://127.0.0.1:9001",
"endpoint": "http://{golbat_address}:{golbat_port}",
"secret": "",
"useFor": [
"pokemon",
Expand All @@ -62,14 +61,13 @@
]
},
{
"note": "Manual Database generally used for storing nests or portal tables, more info on the Wiki",
"note": "Manual Database generally used for storing external nests or portal tables, more info on the Wiki",
"host": "127.0.0.1",
"port": 3306,
"username": "manual_user",
"password": "manual_pw",
"database": "manual_db",
"useFor": [
"nest",
"portal"
]
}
Expand Down

0 comments on commit f4cf8d6

Please sign in to comment.