How can I increase the timeout-time on rasa-x. On my local pc I could just adapt the code line down below in the console.py file:
DEFAULT_STREAM_READING_TIMEOUT_IN_SECONDS = 25
How can I change this within rasa-x?
Help would be highly appreciated!
Are you running under
docker-compose or another install method. If you’re using docker-compose, then create a
docker-compose.override.yml file with the following:
I have my docker-compose.override.yml file as below :
Where do I add ,
Please help …
Add the following to the bottom of your existing file. Make sure
rasa-x is indented 2 spaces like
app:. Then restart Rasa X:
docker-compose restart rasa-x
If I’m just using the docker deploy, without rasa X can I include the lines in
docker-compose.yml itself ?
Trying to put this to heroku and accesss via telegram
Yes. I forgot you mentioned you are running this locally. For a server install, you typically don’t want to modify
docker-compose.yml but it works fine.
Thank you. Okay, That means there is no need for
docker-compose.override.yml Ifor server install.
Also, I was trying to deploy my bot to heroku…
The plan is to deploy action server seperately…and the
Dockerfile for it is
# Extend the official Rasa SDK image
# Use subdirectory as working directory
# Copy any additional custom requirements, if necessary (uncomment next line)
COPY actions/requirements-actions.txt ./
# Change back to root user to install dependencies
RUN apt-get update
RUN apt-get -y install gcc
# Install extra requirements for actions code, if necessary (uncomment next line)
RUN pip install -r requirements-actions.txt
# Copy actions folder to working directory
COPY ./actions /app/actions
# By best practices, don't run the code with root user
Then have the bot on another heroku app…
Is this possible according to you ??