I'm new with Rasa and docker. My attempt to dockerize Rasa-NLU consists of the below steps: Instructions were referred from here
- Did a Git clone of latest Rasa-NLU
- Copied
Dockerfile_full
(from within/docker
) to the root directory - Changed the port number specified in
config_default.json
andDockerfile_full
from default(5000) to 5048. Build using:
docker build -t rasa_nlu .
Run the docker on a port(5048) different from the default(5000) port.
However, the following gets logged in the console:
INFO:rasa_nlu.data_router:Logging requests to '/app/logs/rasa_nlu_log-20170928-091903-1.log'.
INFO:__main__:Started http server on port 5000
2017-09-28 09:19:03+0000 [-] Log opened.
2017-09-28 09:19:03+0000 [-] Site starting on 5000
2017-09-28 09:19:03+0000 [-] Starting factory <twisted.web.server.Site instance at 0x7fbab0bfdd40>
If I try to hit the Rasa endpoint locally using CURL, I get a connection reset
error. My doubts of a wrong port being referred were confirmed when checked within docker container (using docker exec
)it was running on port 5000.
Can someone help me out here as to where exactly I'm going wrong and where should the port number be configured ?
Thanks in advance!