Connection Failed to Rabbitmq from Rasa to Rasa-x

The reason I wanted to see if I could connect Rasa X to a Rasa OS docker-compose deployment was that I have a bitbucket repo that has a self contained “app” folder with everything I need for transferring volumes to Rasa OS with the docker-compose files I had for OS. Also, I wanted to use Twilio with Rasa X, and was going to see if I could set up my Rasa OS docker-compose deployment with Twilio and connect it via Rabbit to Rasa X since I could not get Twilio working directly with Rasa X. Rasa OS docker-compose.yml:

version: '3.4'

services:
  rasa:
    image: rasa/rasa:latest-full
    networks: ['rasa-network']
    ports:
    - "5005:5005"
    volumes:
    - ./:/app
    command:
    - run

  action_server:
    image: rasa/rasa-sdk:latest
    networks: ['rasa-network']
    ports:
    - "5055:5055"
    volumes:
    - ./actions:/app/actions

  duckling:
    image: rasa/duckling:latest
    networks: ['rasa-network']
    ports:
    - "8000:8000"

networks: {rasa-network: {}}