-
-
Notifications
You must be signed in to change notification settings - Fork 68
Use with docker
MrKinau edited this page Nov 20, 2022
·
2 revisions
To use the bots docker image you need to complete the following steps:
- Clone this repository with
git clone https://github.com/MrKinau/FishingBot.git
. - Change your directory inside the cloned repo
cd FishingBot
. - Edit the
docker-compose.yml
to your needs. - Execute
docker-compose up
. This will build the container and run it, the bot starts automatically and give you instructions on how to authenticate (unlessMC_ONLINE_MODE
is disabled in thedocker-compose.yml
). - 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.
Video (Click on the Gif to open it on YouTube):