I’m new to rasa and docker. I’m using Chatroom UI and Flask. what are the changes I have to made in the dockerfile and docker-compose. Could anyone tell me how to do that? @ChrisRahme
@Shan Not get you on this, what you trying to archive?
I want to deploy my project in docker. I locally hosted my project by using flask and chatroom UI. Now I want to host the in docker.
@Shan If you are able to run the docker on ports 5005 and 5055, then just update in chatroom snippet code
host: “http://localhost:5005”,
@Shan I guess you able to run docker, or you still not able to solve that? huh?
No not able to run the docker-compose. when I ran this command it shows error. I’m using windows.
curl -XPOST http://localhost:5005/webhooks/rest/webhook
-H “Content-type: application/json”
-d ‘{“sender”: “test”, “message”: “hello”}’
ERROR:
< !DOCTYPE html>400 — Bad Requeststyle>html { font-family: sans-serif } h1>⚠️ 400 — Bad Request< /h1>
Failed when parsing body as json
curl: (6) Could not resolve host:
curl: (6) Could not resolve host: \
curl: (6) Could not resolve host: test,
curl: (6) Could not resolve host: message
curl: (3) [globbing] unmatched close brace/bracket in column 6
@Shan docker-compose only run with a simple command
docker-compose up --build
what is the command for interact with bot?
docker-compose up --build I tried this but it is not interacting
(rasa) C:\Users\SHANVIJ\rasa>docker-compose up --build
Starting action-server1 … done
Starting rasa-server … done
Attaching to action-server1, rasa-server
action-server1 | 2021-07-20 13:56:56 INFO rasa_sdk.endpoint - Starting action endpoint server…
action-server1 | 2021-07-20 13:56:56 INFO rasa_sdk.executor - Registered function for ‘action_time’.
action-server1 | 2021-07-20 13:56:56 INFO rasa_sdk.executor - Registered function for ‘Form_Info’.
action-server1 | 2021-07-20 13:56:56 INFO rasa_sdk.executor - Registered function for ‘action_save’.
action-server1 | 2021-07-20 13:56:56 INFO rasa_sdk.executor - Registered function for ‘action_notsave’.
action-server1 | 2021-07-20 13:56:56 INFO rasa_sdk.endpoint - Action endpoint is up and running on http://0.0.0.0:5055
rasa-server | 2021-07-20 13:57:00 INFO root - Starting Rasa server on http://localhost:5005
rasa-server | 2021-07-20 13:57:00 INFO rasa.model - Loading model models/20210720-143058.tar.gz…
rasa-server | /opt/venv/lib/python3.8/site-packages/rasa/shared/utils/io.py:97: UserWarning: the value of ‘evaluate_every_number_of_epochs’ is greater
than the value of ‘epochs’. No evaluation will occur.
rasa-server | 2021-07-20 13:57:23 INFO root - Rasa server is up and running.
@Shan are you now able to see the chatroom UI in localhost?
No nik.
@Shan your rasa is up and running?