From 91b5f23df63d61e1c9e5bb0af7f0f46f93e5315b Mon Sep 17 00:00:00 2001 From: verita84 Date: Wed, 30 Nov 2022 23:39:09 +0000 Subject: [PATCH] Update 'README.md' --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ec763b2..f461308 100644 --- a/README.md +++ b/README.md @@ -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 +``` \ No newline at end of file