Different deployment targets for Production #18774
Unanswered
Samuel Inácio (SamuelInacio)
asked this question in
Q&A
Replies: 1 comment 2 replies
|
What determines which one is active ? |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi, Im relatively new in ASPIRE. I am trying to figure out how could I handle a situation where I want to be able to write my AppHost in a way that allows me To deploy my App to azure or Docker (basicaly beeing able to switch at will).
It seems I would need to add:
And later in my ProjectResource:
If I don't want to enable both target nodes, what is the recommended pattern for supporting multiple compute environments (Docker Compose and Azure Container Apps) from a single AppHost while selecting the deployment target at deploy time? Today, adding multiple WithComputeEnvironment() calls causes deployment to all targets. Is conditional registration based on configuration the intended approach until Environment Support is completed?
All reactions