Update 'README.md'
This commit is contained in:
parent
0ab0c9421b
commit
91b5f23df6
10
README.md
10
README.md
@ -2,7 +2,9 @@
|
|||||||
2. Build and start the bot container
|
2. Build and start the bot container
|
||||||
```
|
```
|
||||||
docker build -t blockbot .
|
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
|
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
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user