# Docker for Rasa Stack with WebChat UI

**URL:** https://forum.rasa.com/t/docker-for-rasa-stack-with-webchat-ui/525
**Category:** Rasa Open Source
**Created:** [August 17, 2018, 3:20pm UTC](https://forum.rasa.com/t/docker-for-rasa-stack-with-webchat-ui/525 "2018-08-17T15:20:55Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![datistiquo](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/datistiquo/32/124_2.png) [@datistiquo](https://forum.rasa.com/u/datistiquo)
#### Post date: [August 17, 2018, 3:20pm UTC](https://forum.rasa.com/t/docker-for-rasa-stack-with-webchat-ui/525/1 "2018-08-17T15:20:56Z")

</div>

I use my Bot with NLU and Core together with the GUI [https://github.com/scalableminds/chatroom](https://github.com/scalableminds/chatroom)

Can I use docker to run this system on a server where I have not installed anything?

Can you docker Core+NLU ? How can you use this together with the webchat?

---

<div class="post-metadata">

### Author: ![akelad](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/akelad/32/69_2.png) [@akelad](https://forum.rasa.com/u/akelad)
#### Post date: [August 24, 2018, 1:18pm UTC](https://forum.rasa.com/t/docker-for-rasa-stack-with-webchat-ui/525/2 "2018-08-24T13:18:38Z")

</div>

Yes you can use it with docker, there’s some example dockerfiles in both repos, but you would have to customise them so they execute the code that connects to your webchat

---

<div class="post-metadata">

### Author: ![datistiquo](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/datistiquo/32/124_2.png) [@datistiquo](https://forum.rasa.com/u/datistiquo)
#### Post date: [August 24, 2018, 1:33pm UTC](https://forum.rasa.com/t/docker-for-rasa-stack-with-webchat-ui/525/3 "2018-08-24T13:33:41Z")

</div>

Thank you. 😃

> but you would have to customise them so they execute the code that connects to your webchat

How would I do that? Have you then both core and NLU in docker, or how can I imagine that? I ask my self how I customise this so both can communcate with the chatroom from [GitHub - scalableminds/chatroom: React-based Chatroom Component for Rasa Stack](https://github.com/scalableminds/chatroom)

---

<div class="post-metadata">

### Author: ![akelad](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/akelad/32/69_2.png) [@akelad](https://forum.rasa.com/u/akelad)
#### Post date: [August 27, 2018, 10:58am UTC](https://forum.rasa.com/t/docker-for-rasa-stack-with-webchat-ui/525/4 "2018-08-27T10:58:45Z")

</div>

You can have your bot run in the Core container, or in a separate container and then communicate with the two containers that way. We use something called docker-compose usually to handle communication between the containers.

You have to use some custom code to connect that channel as well, you can take a look how it’s done for our built in ones here: [https://github.com/RasaHQ/rasa\_core/blob/master/rasa\_core/run.py](https://github.com/RasaHQ/rasa_core/blob/master/rasa_core/run.py)

---

<div class="post-metadata">

### Author: ![datistiquo](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/datistiquo/32/124_2.png) [@datistiquo](https://forum.rasa.com/u/datistiquo)
#### Post date: [August 27, 2018, 5:38pm UTC](https://forum.rasa.com/t/docker-for-rasa-stack-with-webchat-ui/525/5 "2018-08-27T17:38:03Z")

</div>

Thanks, but wher in run.py is docker used?
