This wraps OpenPoGoBot in a docker image. Automated builds of the image are available on Dockerhub and is the recommended method of installation.
Before you can use the bot, you have to take a few steps in order to access the Google APIs:
- Create a Google account if you don't already have one
- Log-in to the Google Developer Console
- Create a new project, name it however you like
- In Credentials, create a new Server API key for the project
- In your Dashboard, enable the
- 'Google Maps Directions API' and the
- 'Google Maps Geocoding API'
- Done!
git clone https://github.com/torvitas/docker-openpogobot.git
cd docker-openpogobot
docker-compose run --rm -e PGB_USER="googleusername" -e PGB_PASSWORD="googlepassword" -e PGB_GOOGLE_API_KEY="googleapikey" pogobot
Environment Variable | Corresponding Flag |
---|---|
PGB_AUTH_SERVICE | --auth-service |
PGB_USER | --username |
PGB_PASSWORD | --password |
PGB_LOCATION | --location |
PGB_GOOGLE_API_KEY | --gmapkey |
PGB_GOOGLE_DIRECTIONS | --google-directions |
PGB_INCUBATION_FILL | --incubation-fill |
PGB_INCUBATION_USE_ALL | --incubation-use-all |
PGB_INCUBATION_RESTRICT | --incubation-restrict |
PGB_INCUBATION_PRIORITY | --incubation-priority |
PGB_CP | --combat-power |
PGB_MAX_STEPS | --max-steps |
PGB_INITIAL_TRANSFER | --initial-transfer |
PGB_RECYCLE_ITEMS | --recycle-items |
PGB_POKEMON_POTENTIAL | --pokemon-potential |
PGB_LOCATION_CACHE | --location-cache |
PGB_DISTANCE_UNIT | --distance-unit |
PGB_EVOLVE_POKEMON | - |
PGB_EVOLVE_FILTER | - |
PGB_ITEM_FILTER | - |
PGB_NAVIGATOR | - |
PGB_NAVIGATOR_WAYPOINTS | - |
PGB_NAVIGATOR_CAMPSITE | - |
PGB_EXCLUDE_PLUGINS | --exclude-plugins |