'How to add environment variables to Azure Container App

I cannot find a way to add environment values to Azure Container App in the portal.

How can I add within Azure Portal?



Solution 1:[1]

Azure Container App is in Preview and currently, not all settings are available in the Portal. You can use the CLI to add env variables:

az containerapp update -n MyContainerapp -g MyResourceGroup -v myenvvar=foo,anotherenvvar=bar

Refer to the CLI doc:

az containerapp --help

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 CSharpRocks