# How to get Entities in Docker compose?

**URL:** <https://forum.rasa.com/t/how-to-get-entities-in-docker-compose/33047>\
**Category:** Rasa Open Source\
**Created:** [August 26, 2020, 7:13pm UTC](https://forum.rasa.com/t/how-to-get-entities-in-docker-compose/33047 "2020-08-26T19:13:58Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![poojasingh-code](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/poojasingh-code/32/13667_2.png) [@poojasingh-code](https://forum.rasa.com/u/poojasingh-code)\
**Post date:** [April 22, 2021, 2:40pm UTC](https://forum.rasa.com/t/how-to-get-entities-in-docker-compose/33047/10 "2021-04-22T14:40:33Z")

</div>

Hey! just one confusion… If I want to run run -m models --cors “\*” --debug( responsible to enable apis) and rasa run -m models --endpoints endpoints.yml ( responsible for my mongo tracker) as per the rasa docs [Tracker Stores](https://rasa.com/docs/rasa/tracker-stores#mongotrackerstore)

then how to write this because if I am adding --endpoints, my api is not getting enabled, but mongo is running fine and if I remove --endpoints, in that case mongo is not running…

```
    version: '3.0'
services:
  rasa:
    image: 'rasa/rasa:2.5.0-full'
    ports:
      - '5005:5005'
    volumes:
      - './:/app'
    command:
      - run
      - -m
      - models
      - --cors
      - "*"
      - --debug
      - --endpoints 
  
  action-server:
    image: 'rasa/rasa-sdk:2.5.0'
    volumes:
      - './actions:/app/actions'
    ports:
      - '5055:5055'

  mongo:
    image: 'mongo'
    environment:
      MONGO_INITDB_ROOT_USERNAME: None
      MONGO_INITDB_ROOT_PASSWORD: None
  
  mongo-express: # this service is a MongoDB UI, and is optional
    image: 'mongo-express'
    ports:
      - '8081:8081'
    environment:
      ME_CONFIG_MONGODB_ADMINUSERNAME: None
      ME_CONFIG_MONGODB_ADMINPASSWORD: None
```

---

_[View the full topic](https://forum.rasa.com/t/how-to-get-entities-in-docker-compose/33047)._
