Add a new deployment option for .Net Aspire #2024
Replies: 2 comments 2 replies
-
I tried it using aspirate, which can create a docker-compose file The only thing that I get stuck on is that locally I run 'aspirate build' to push the images to Docker Desktop. This does not happen automatically in coolify as the generated docker compose is aimed at pushed images, instead of referencing Docker files. I think Aspire is really cool, it works well on Azure, but none of this (docker stuff) is really supported and I ended up doing a lot of things manually which defeats the purpose. This could be adapted though https://github.com/prom3theu5/aspirational-manifests to generate docker compose files suitable to coolify :) |
Beta Was this translation helpful? Give feedback.
-
Some other options for supporting native .NET deployments here might be:
|
Beta Was this translation helpful? Give feedback.
-
.Net Aspire is a new development model Microsoft is pushing for .Net 8+ (which can run on Linux) that allows the project to manage the orchestration of services automatically. Read more
Another project called "Aspirate" is available that can take a .Net Aspire project and generate docker compose or kubernettes manifests from it. Read more
Together these could be used in a new build pack to build/publish .net Aspire application stacks along with spinning up containers for all required services. Aspire takes care of passing the connection strings and other details through to the various applications.
Supporting this would allow Coolify to get ahead of the game on containerised hosting and orchestration.
Beta Was this translation helpful? Give feedback.
All reactions