Hello,
I have followed the rasa masterclass ep.9 and was trying to deploy my bot on rasa X. I have followed every step in the video and my bot is also working on rasa X.
But, my custom actions don’t seem to work at all. In fact, I am getting this warning on running
sudo docker-compose up -d
`WARNING: Service "app" is using volume "/app/actions" from the previous container. Host mapping "/etc/rasa/actions" has no effect. Remove the existing containers (with `docker-compose rm app`) to usRecreating rasa_app_1`
Can somebody help me fix this issue. I’ll appreciate any help.
Hi @vishal_a, sorry we missed this post. Seems like maybe you have other containers running already before running sudo docker-compose up -d? You can check with sudo docker ps to see what’s already running and maybe already using that volume.
I followed this link to deploy rasa chatbot using docker in Linux.
rasa-x iInstallation path is: /etc/rasa
Deployment successfully and integrated with web UI working fine with basic queries(without actions.py) like small talk. but if I hit actions.py from rasa-x interactive didnt get any response.
action file: /etc/rasa/actions.py
I created docker-compose.override.yml for actions.py
I followed your suggestion. have created actions folder and copied my actions.py file in to actions/actions.py file.
i have created__init__.py and requirements-action.txt(python dependencies which i used in local system) file inside actions folder after that created Dockerfile as per documentation then I ran below code to build the docker image:
Finally I connected rasa x with custom action server using docker image,
issue was some error with python dependencies from the requirement-actions.txt file, then instead of requirement-action.txt i just mentioned the python packages from actions.py file directly in to DockerFile like below,