Hello @Ulises Ortega ,
Thanks for reaching out to Microsoft Q&A !
I am thinking of couple of options:-
While creating the Azure Container Instance , there are couple of ways to set the environment variable for the container instance:
You can have a look at the below documentation:
https://learn.microsoft.com/en-us/azure/container-instances/container-instances-environment-variables
If you are using Azure Portal -> you can use Advanced Options
Best way is either to use Azure CLI or Azure Powershell. Both the options are mentioned in the same document.
///////////////////////////////////////
Other option is using YAML file:
In the YAML configuration file we can mention the details of main container & sidecar container . In the sidecar container you can have the environment variable and that variable can be accessed in the main container !
Can you take a look at the example YAML file mentioned at https://learn.microsoft.com/en-us/learn/modules/secure-apps-azure-container-instances-sidecar/4-deploy-sidecar
Probably you might get some thoughts how to use that for dapr sidecar ?
Let us know if that helps !