Custom action along with MySql database

I have deployed RASA X using the Quick install script. My custom actions requires mysql database.

Should I build action server & mysql database as separate containers and deploy it ? What is the best approach in this scenario ?

It is always suggestible to build a separate container for db. I have been doing this for multiple projects.


services: rasa: image: rasa/rasa

actions: image : rasa/rasa-sdk

database: imge: mysql depends_on: - actions

Thanks @ChikkaUdayaSai.

My deployment was done using Quick install script. For action server image, I can use the Action Server Image environment variable and update it.

Any docs / article on how to deploy the database image into the existing setup.

Try this @siriusraja .

Hi @ChikkaUdayaSai

Thank you for the suggestion. I believe you are using Docker-Compose method for all your projects Right ?

Yes. For most of them.

hello @siriusraja dou you mind if you can share your configuration, am on the same situation as you @siriusraja i used the Quick install script (docker-compose) and my custom action require searching something in my local my database


My DB was sitting on a separate server and I didn’t containerize it. Only my RASA components were part of Kubernetes cluster which gets autoconfigured while installation.

@siriusraja so you didnt have to make any other config ? Just run your code and then thats it ? Where did you put the @ of your server’s DB Mine isnt working @siriusraja i have opened a thread here maybe you can have more info on my problem