Running multiple chatbots on same server and hiding ports

wonderfull ! did you put the two bots in the same directory ? how did you do with the actions files ?

no, they have to be in different folder, otherwise you can no change them and train them. See in docker-compose file, this

  • /home/paulii/uudet_botit/testibot1/

and this

  • /home/paulii/uudet_botit/testibot2/

These bots don’t use action server, but same principle

ok i see and you have one docker-compose for the two ? where did you put the docker compose file ? and how did you manage de configuration on this files : nginx.conf rasax.nginx.template ssl.conf.template (they are normally in the directory where your bot is in the nginx-config-files folder )

one folder above see here

paulii@vetbot7:~/uudet_botit$ ls -l
total 12
-rw-rw-r-- 1 paulii paulii  558 Oct 12 06:59 docker-compose.yml
drwxrwxr-x 6 paulii paulii 4096 Oct 15 16:16 testibot1
drwxrwxr-x 6 paulii paulii 4096 Oct 20 12:20 testibot2

Only config for Nginx I need to manually is located here

paulii@vetbot7:/etc/nginx/sites-available$ ls -l
total 12
-rw-r--r-- 1 root root 2416 Mar 26  2020 default
-rw-r--r-- 1 root root    0 Oct 20 09:26 testibot1.fi_access.log
-rw-r--r-- 1 root root    0 Oct 20 09:27 testibot1.fi_error.log
-rw-r--r-- 1 root root 2680 Oct 20 12:03 testibotit
-rw-r--r-- 1 root root 3947 Oct 20 11:51 vanha.testibotit.bak
paulii@vetbot7:/etc/nginx/sites-available$

ok so you didnt touch the files in the nginx-config-files/ directory ? ok thats great i was searching for this for too long thanks a lot

(btw any update ? Rasa telegram custom buttons )

1 Like