# Rasa NLU in the new joined repo/docker

**URL:** <https://forum.rasa.com/t/rasa-nlu-in-the-new-joined-repo-docker/11248>\
**Category:** Rasa Open Source\
**Created:** [June 10, 2019, 3:49pm UTC](https://forum.rasa.com/t/rasa-nlu-in-the-new-joined-repo-docker/11248 "2019-06-10T15:49:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![alec1a](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/alec1a/32/2007_2.png) [@alec1a](https://forum.rasa.com/u/alec1a)\
**Post date:** [June 10, 2019, 3:49pm UTC](https://forum.rasa.com/t/rasa-nlu-in-the-new-joined-repo-docker/11248/1 "2019-06-10T15:49:49Z")

</div>

Original instructions showed how to expose an NLU endpoint alongside Rasa core: [rasa\_core/docker\_walkthrough.rst at master · RasaHQ/rasa\_core · GitHub](https://github.com/RasaHQ/rasa_core/blob/master/docs/core/docker_walkthrough.rst#connecting-rasa-core-and-rasa-nlu)

I don’t see how to do this in the new rasa combined repo as the NLU related parts are gone: [rasa/running-rasa-with-docker.rst at master · RasaHQ/rasa · GitHub](https://github.com/RasaHQ/rasa/blob/master/docs/user-guide/running-rasa-with-docker.rst)

I’m looking to both run Rasa core/nlu for a facebook bot AS WELL as be able to be able to probe the NLU to get the list of intents for a phrase (used to be /parse on the RASA NLU endpoint default port 5000).

---

<div class="post-metadata">

**Author:** ![JulianGerhard](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/juliangerhard/32/3781_2.png) [@JulianGerhard](https://forum.rasa.com/u/JulianGerhard)\
**Post date:** [June 10, 2019, 4:16pm UTC](https://forum.rasa.com/t/rasa-nlu-in-the-new-joined-repo-docker/11248/2 "2019-06-10T16:16:54Z")

</div>

Hi @alec1a,

I think what you are looking for is:

[https://rasa.com/docs/rasa/nlu/using-nlu-only/](https://rasa.com/docs/rasa/nlu/using-nlu-only/)

If you need further help, feel free to ask!

Regards

---

<div class="post-metadata">

**Author:** ![stephens](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/stephens/32/1632_2.png) [@stephens](https://forum.rasa.com/u/stephens)\
**Post date:** [June 16, 2019, 11:50pm UTC](https://forum.rasa.com/t/rasa-nlu-in-the-new-joined-repo-docker/11248/3 "2019-06-16T23:50:17Z")

</div>

@JulianGerhard I am also migrating a bot that uses separate NLU & Core containers and docker-compose as recommended.

In the prior Rasa releases, this started an NLU at port `5000` and a Core at `5005`.

The link you provided to @alec1a shows the command to start a separate NLU with the new Rasa 1.0. When I run the suggested command the output shows:

```auto
nlu | 2019-06-16 23:19:25 INFO root - Starting Rasa Core server on http://localhost:5005

```

It starts a `Core` server at port `5005`. Not an NLU server at port `5000`.

Where is the example of a docker-compose setup for Rasa 1.0 with separate NLU & Core?

---

<div class="post-metadata">

**Author:** ![alec1a](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/alec1a/32/2007_2.png) [@alec1a](https://forum.rasa.com/u/alec1a)\
**Post date:** [June 17, 2019, 1:46am UTC](https://forum.rasa.com/t/rasa-nlu-in-the-new-joined-repo-docker/11248/4 "2019-06-17T01:46:55Z")

</div>

I was able to meet this use case only by launching a container for NLU functionality and a container for Core functionality (same container twice now that they’re joined)

```
  rasa:
    image: rasa/rasa:${RASA_TAG}
    ports:
      - 5005:5005
    volumes:
      - ./volumes/containers/rasa/:/app
    command:
      - run

  rasa_nlu:
    image: rasa/rasa:${RASA_TAG}
    ports:
      - 5000:5005
    volumes:
      - ./volumes/containers/rasa_nlu/:/app
    command:
      - run
      - --enable-api
      - -m
      - models/

```

If someone has a better solution without separate containers would be happy to hear it. 😀

In theory perhaps something like supervisord could run two rasa processes in the same docker container with different arguments. Not sure if there are negative repercussions to that.

---

<div class="post-metadata">

**Author:** ![JulianGerhard](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/juliangerhard/32/3781_2.png) [@JulianGerhard](https://forum.rasa.com/u/JulianGerhard)\
**Post date:** [June 17, 2019, 8:24pm UTC](https://forum.rasa.com/t/rasa-nlu-in-the-new-joined-repo-docker/11248/5 "2019-06-17T20:24:52Z")

</div>

Hi,

I am on vacation until wednesday. If not already obsolet, I will take a look upon after returning!

Regards
