Guidance required for Self-Hosting Aspire (.NET 10) on a Linux VPS #13694
Unanswered
shefat2002
asked this question in
Q&A
Replies: 1 comment
-
|
Have you looked at the new aspire documentation? There’s a deploy your first app tutorial that deploys to your local docker setup https://aspire.dev/get-started/deploy-first-app/?lang=csharp if you want to deploy over ssh to a Linux VPS with docker then I’d recommend https://github.com/davidfowl/aspire-ssh-deploy There’s a GitHub template here https://github.com/davidfowl/aspire-docker-ssh-template if you want a more manual set of instructions, it’d be possible as well (as long as you express what systems you are targeting). |
Beta Was this translation helpful? Give feedback.
0 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.
-
I am currently developing a distributed application using .NET 10 and .NET Aspire. My architecture consists of an ApiService, a Web frontend (Blazor), and integrations with Redis and PostgreSQL via the AppHost.
The Goal
I aim to deploy this solution to a personal Linux VPS (Ubuntu/Debian) using Docker/Docker Compose. I am specifically looking for a self-hosted solution and do not wish to deploy to Azure Container Apps (ACA) or AWS at this stage.
Current Obstacles
Tooling Compatibility: I attempted to use the community tool Aspirate (Aspir8) to generate a docker-compose manifest. However, as I am running .NET 10, the tool currently fails due to version incompatibilities/preview status.
Manual Configuration: I understand that I can generate a manifest using dotnet run --publisher manifest, but manually mapping this JSON output to a production-ready docker-compose.yml (handling networking, connection strings, and service discovery manually) is error-prone and complex.
Questions
Is there an official recommended workflow or "paved path" for deploying Aspire solutions to a raw Linux VPS using Docker Compose, without relying on third-party tools like Aspirate?
Are there any plans to include a native docker-compose publisher in the Aspire CLI for scenarios where Kubernetes or Cloud-specific orchestrators are overkill?
Given the .NET 10 environment, is there a specific manual deployment strategy you would recommend to bridge the gap until tooling catches up?
Any documentation, examples, or guidance on correctly bridging the AppHost configuration to a manual Docker deployment would be greatly appreciated.
Environment Details:
Thank you for your time and assistance.
Beta Was this translation helpful? Give feedback.
All reactions