Rasa in Docker Swarm mode - Error running shell

I succeeded to install Rasa Open Source on my Ubuntu 20.04, via Portainer. The deployment was done in swarm mode. Checking the containers, all seemed perfect, but when running Shell or Rasa train commands, I got errors.

Running Shell:

docker exec -it <container_id> rasa shell, I get the following error:

[Errno 98] error while attempting to bind on address (‘0.0.0.0’, 5005): address already in use.

I checked for other services running at port 5005, but there were none.

Running Rasa Train docker exec -it <container_id> rasa shell, I get the following error:

The path ‘config.yml’ does not exist. Please make sure to use the default location (‘config.yml’) or specify it with ‘–config’.

I checked the volume mounting and the stack, all seemed fine.

Here is my stack:

version: '3.8'

services:
  rasa:
    image: rasa/rasa:3.6.20-full
    ports:
      - 5005:5005
    volumes:
      - /root/rasa/models:/app/models
      - /root/rasa/actions:/app/actions
      - /root/rasa:/app/config
      - /root/rasa/data:/app/data
      - /root/rasa/domain:/app/domain
      - /root/rasa/credentials.yml:/app/credentials.yml
      - /root/rasa/endpoints.yml:/app/endpoints.yml
    command:
      - run
      - --enable-api
      - --cors
      - "*"
    deploy:
      replicas: 1
    restart: always

  action_server:
    image: rasa/rasa-sdk:3.6.0
    volumes:
      - /root/rasa/actions:/app/actions
    ports:
      - 5055:5055
    command:
      - start
      - --actions
      - actions
    deploy:
      replicas: 1
    restart: always

Can anyone help me?

Thanks!