Rasa Custom Action Server with Docker-Compose Not Working

I am trying get a response from my custom action server but can’t seem to get my function registered. I can successfully bring up the custom action container, but i get “No registered action found for name ‘action_vendor1’” in the logs, and the custom actions doesn’t utter anything back to the user like it should.

This is in my endpoints.yml file ->

action_endpoint:
url: http://action_server:5055/webhook
token:  ""

This is in my docker-compose.yml file ->

action_server:
image: rasa/rasa-sdk:1.10.0
expose:
  - "5055"
ports:
  - "5055:5055"
depends_on:
  - rasa-production
volumes:
  - ./actions:/app/actions
command: ["start"]

I also have action_vendor1 in my domain.yml file under the “actions:” section.

After i run ‘docker-compose up’ i see that the custom action server is started. I see “Starting action endpoint server…” in the logs. I don’t see any messages saying “action_vendor1 function was registered” so I think it could possibly be an issue with the actions.py file?

Any help/input is welcome!

Hi @kivey, it could be related to your actions.py file. Would you mind sharing it?