From 4d55149753c9d556de552e0b1d5af4d50a775097 Mon Sep 17 00:00:00 2001 From: verita84 Date: Wed, 30 Nov 2022 23:43:15 +0000 Subject: [PATCH] Update 'README.md' --- README.md | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f461308..5462759 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,12 @@ -1. Create the bot account on your instance -2. Build and start the bot container +1. Modify the following lines in ```bot.sh``` +``` +SQL_USER='root' +SQL_PASS='sql' +SQL_DATABASE='pooper' +``` + +2. Create the bot account on your instance +3. 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 @@ -7,7 +14,7 @@ docker run -d --name blockbot --restart=always -e ENDPOINT=poster.place --add-ho (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 +4. Go inside the container and setup the account auth ``` docker exec -it blockbot bash @@ -18,7 +25,7 @@ exit ``` -4. Testing the setup +5. Testing the setup ``` docker exec -it blockbot bash