Enable ingress and Cors via. apphost or environment variables #4379
-
Hello All I have deployed my containers via azd up and later updates via. azd deploy. However
Also, if i change it and redeploy it resets. Which, is this because it takes down the existing containers and redeploys them from the manifest (which im pressuming defaults to ingress interal and no cors policies)? Thanks in advance. It really helps a new software developer understand these things. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
WithExternalHttpEndpoints on your resource will mark all http or https endpoints as external. Endpoints in the appmodel have an "external" boolean and this will get translated into making the generated infra for the container app external as well.
With respect to changing container apps properties itself, this is the current answer:
You can see the default container app policy using I recommend reading the in-depth deployment docs as a way to explore more about what's happening https://learn.microsoft.com/en-us/dotnet/aspire/deployment/azure/aca-deployment-azd-in-depth?tabs=macos. Feel free to ask more questions as you learn more! |
Beta Was this translation helpful? Give feedback.
WithExternalHttpEndpoints on your resource will mark all http or https endpoints as external. Endpoints in the appmodel have an "external" boolean and this will get translated into making the generated infra for the container app external as well.
With respect…