2023-08-03 12:08:59 -06:00
2023-05-24 16:45:18 -06:00
fix
2022-11-30 16:29:37 -07:00
2023-08-03 12:08:59 -06:00
fix
2022-11-30 16:29:37 -07:00
fix
2022-11-30 16:29:37 -07:00
fix
2022-11-30 16:29:37 -07:00
2023-07-12 13:14:25 -06:00
2022-11-30 23:44:51 +00:00
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 
Description
No description provided
Readme 47 KiB
Languages
Shell 90.4%
Dockerfile 8.1%
Batchfile 1.5%