Update 'README.md'

This commit is contained in:
verita84 2022-11-30 23:39:09 +00:00
parent 0ab0c9421b
commit 91b5f23df6

View File

@ -2,7 +2,9 @@
2. Build and start the bot container
```
docker build -t blockbot .
docker run -d --name blockbot --restart=always -e ENDPOINT=poster.place 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)
```
3. Go inside the container and setup the account auth
@ -16,5 +18,9 @@ exit
```
4. Modify ```bot.sh ``` and
4. Testing the setup
```
docker exec -it blockbot bash
/opt/bot.sh scalps print
```