Docker Compose Deploy - Set the RASA_HOME environment variable is not working. Rasa_X_playbook won't recognize it

Hello,

According with the " Docker Compose Installation" with the code below the path of the installation folder can be changed:

export RASA_HOME=~/rasa/dir sudo -E bash ./install.sh # -E will preserve the environment variable you set

However, after I run that commands the installation path continues to be the “etc\rasa”

Don’t know why, but the rasa x playbook is not assuming the env variable.

Can you please help me?

Thank you