Running rasa action server on docker-compose

I don’t know if the problem is still actual, but maybe this will help someone looking for the answer.

You need to add actions service to your docker-compose.yml file:

version: '3.0'
services:
  rasa:
    image: rasa/rasa:latest
    restart: always
    ports:
      - 5005
    volumes: 
      - ./app:/app
    command:
      - run

  actions:
    image: rasa/rasa-sdk:latest
    restart: always
    volumes: 
      - ./app/actions:/app/actions
    ports: 
      - 5055

This way when you run docker compose up you gonna have two docker containers: one with rasa assistant and one with actions server.