Go to file
2023-08-03 12:08:59 -06:00
blockbot.service Add 'blockbot.service' 2023-05-24 16:45:18 -06:00
bot.png fix 2022-11-30 16:29:37 -07:00
bot.sh Update 'bot.sh' 2023-08-03 12:08:59 -06:00
config.json fix 2022-11-30 16:29:37 -07:00
crontab fix 2022-11-30 16:29:37 -07:00
Dockerfile fix 2022-11-30 16:29:37 -07:00
hash.sh Update 'hash.sh' 2023-07-12 13:14:25 -06:00
README.md Update 'README.md' 2022-11-30 23:44:51 +00:00
windows-task.bat fix 2022-11-30 16:29:37 -07:00

  1. Create the bot account on your instance

  2. Modify the following lines in bot.sh

SQL_USER='root'
SQL_PASS='sql'
SQL_DATABASE='pooper'
  1. Build and start the bot container
docker build -t blockbot .
docker run -d --name blockbot --restart=always -e ENDPOINT=poster.place --add-host postgresql:192.168.0.146 blockbot

(Change the IP address to your postgres server, do not use 127.0.0.1 or localhost)
  1. Go inside the container and setup the account auth
docker exec -it blockbot bash

toot login
(Follow the instructions on the screen to login as your bot account)

exit

  1. Testing the setup
docker exec -it blockbot bash
/opt/bot.sh scalps print