Use with docker - MrKinau/FishingBot GitHub Wiki

Use the bots docker image

To use the bots docker image you need to complete the following steps:

  1. Clone this repository with git clone https://github.com/MrKinau/FishingBot.git.
  2. Change your directory inside the cloned repo cd FishingBot.
  3. Edit the docker-compose.yml to your needs.
  4. Execute docker compose up. This will build the container and run it, the bot starts automatically and give you instructions on how to authenticate (unless MC_ONLINE_MODE is disabled in the docker-compose.yml).
  5. To stop the bot execute docker compose down

Hint: To persist your credentials uncomment the line in the volumes section, which will create a folder (fishingbot-data) which contains the config as well as the refreshToken to re-auth, so you don't need to authenticate every time you restart the container.

docker