# Docker Chatroom UI

**URL:** <https://forum.rasa.com/t/docker-chatroom-ui/45949>\
**Category:** Rasa Open Source\
**Created:** [July 20, 2021, 12:32pm UTC](https://forum.rasa.com/t/docker-chatroom-ui/45949 "2021-07-20T12:32:01Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shan](https://avatars.discourse-cdn.com/v4/letter/s/7ab992/32.png) [@Shan](https://forum.rasa.com/u/Shan)\
**Post date:** [July 20, 2021, 12:32pm UTC](https://forum.rasa.com/t/docker-chatroom-ui/45949/1 "2021-07-20T12:32:01Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Shan](https://avatars.discourse-cdn.com/v4/letter/s/7ab992/32.png) [@Shan](https://forum.rasa.com/u/Shan)\
**Post date:** [July 20, 2021, 12:32pm UTC](https://forum.rasa.com/t/docker-chatroom-ui/45949/2 "2021-07-20T12:32:30Z")

</div>

@nik202

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [July 20, 2021, 12:51pm UTC](https://forum.rasa.com/t/docker-chatroom-ui/45949/3 "2021-07-20T12:51:35Z")

</div>

@Shan Not get you on this, what you trying to archive?

---

<div class="post-metadata">

**Author:** ![Shan](https://avatars.discourse-cdn.com/v4/letter/s/7ab992/32.png) [@Shan](https://forum.rasa.com/u/Shan)\
**Post date:** [July 20, 2021, 1:06pm UTC](https://forum.rasa.com/t/docker-chatroom-ui/45949/4 "2021-07-20T13:06:49Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [July 20, 2021, 1:12pm UTC](https://forum.rasa.com/t/docker-chatroom-ui/45949/5 "2021-07-20T13:12:35Z")

</div>

@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](http://localhost:5005)”,

@Shan I guess you able to run docker, or you still not able to solve that? huh?

---

<div class="post-metadata">

**Author:** ![Shan](https://avatars.discourse-cdn.com/v4/letter/s/7ab992/32.png) [@Shan](https://forum.rasa.com/u/Shan)\
**Post date:** [July 20, 2021, 1:40pm UTC](https://forum.rasa.com/t/docker-chatroom-ui/45949/6 "2021-07-20T13:40:49Z")

</div>

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](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

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [July 20, 2021, 1:46pm UTC](https://forum.rasa.com/t/docker-chatroom-ui/45949/7 "2021-07-20T13:46:53Z")

</div>

@Shan docker-compose only run with a simple command

docker-compose up --build

---

<div class="post-metadata">

**Author:** ![Shan](https://avatars.discourse-cdn.com/v4/letter/s/7ab992/32.png) [@Shan](https://forum.rasa.com/u/Shan)\
**Post date:** [July 20, 2021, 2:02pm UTC](https://forum.rasa.com/t/docker-chatroom-ui/45949/8 "2021-07-20T14:02:31Z")

</div>

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](http://0.0.0.0:5055)  
rasa-server | 2021-07-20 13:57:00 INFO root - Starting Rasa server on [http://localhost:5005](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.

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [July 20, 2021, 2:07pm UTC](https://forum.rasa.com/t/docker-chatroom-ui/45949/9 "2021-07-20T14:07:51Z")

</div>

@Shan are you now able to see the chatroom UI in localhost?

---

<div class="post-metadata">

**Author:** ![Shan](https://avatars.discourse-cdn.com/v4/letter/s/7ab992/32.png) [@Shan](https://forum.rasa.com/u/Shan)\
**Post date:** [July 21, 2021, 5:18am UTC](https://forum.rasa.com/t/docker-chatroom-ui/45949/10 "2021-07-21T05:18:20Z")

</div>

No nik.

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [July 21, 2021, 11:13am UTC](https://forum.rasa.com/t/docker-chatroom-ui/45949/11 "2021-07-21T11:13:41Z")

</div>

@Shan your rasa is up and running?
