We are working with botpress since January on a feature in which we needed to develop a custom select component that loads it’s items from a rest service. I need a way to tell the bot which service endpoint to use depending on the enviromnent (development, testing or production). Since we are running the bot with Rancher 1, I set a environment variable “ENVIRONMENT=development” but I wasn’t able to get it from custom select component using process.env.
What am I doing wrong? Is there other way to deal with multi environment bots with docker?
Thanks in advance!