feat: replace docker compose with dotnet aspire#223
Merged
Conversation
9 tasks
There was a problem hiding this comment.
Pull request overview
This PR migrates the local development environment from Docker Compose to .NET Aspire, introducing a new Fitnet.AppHost project for orchestration. The change aims to improve developer experience through strong typing, built-in observability, and simplified connection string management.
Key Changes:
- Added Fitnet.AppHost project with .NET Aspire 9.0 for orchestrating PostgreSQL and the Fitnet application
- Removed Docker Compose configuration (docker-compose.yml, Dockerfile, .dockerignore)
- Updated SonarAnalyzer.CSharp package to version 10.15.0.120848 across all test projects
- Modified application URL ports in launchSettings.json to avoid conflicts
Reviewed changes
Copilot reviewed 21 out of 21 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| README.adoc | Added .NET Aspire to the technology stack list |
| Chapter-1-initial-architecture/Src/docker-compose.yml | Removed Docker Compose configuration in favor of Aspire |
| Chapter-1-initial-architecture/Src/Dockerfile | Removed Dockerfile as containerization is now handled by Aspire |
| Chapter-1-initial-architecture/Src/Fitnet/.dockerignore | Removed Docker ignore file (no longer needed) |
| Chapter-1-initial-architecture/Src/Fitnet/Properties/launchSettings.json | Updated ports to avoid conflicts (7097→7098, 5013→5014) |
| Chapter-1-initial-architecture/Src/Fitnet/Program.cs | Removed module registration comment |
| Chapter-1-initial-architecture/Src/Fitnet/Fitnet.csproj | Removed docker-compose.yml and Dockerfile content links |
| Chapter-1-initial-architecture/Src/Fitnet.AppHost/* | Added new Aspire AppHost project with PostgreSQL and Fitnet application orchestration |
| Chapter-1-initial-architecture/Src/Fitnet.slnx | Added Fitnet.AppHost project and updated project type attributes |
| Chapter-1-initial-architecture/Src/.UnitTests/.csproj | Updated SonarAnalyzer.CSharp to version 10.15.0.120848 |
| Chapter-1-initial-architecture/Src/.IntegrationTests/.csproj | Updated SonarAnalyzer.CSharp to version 10.15.0.120848 |
| Chapter-1-initial-architecture/Src/.ArchitectureTests/.csproj | Updated SonarAnalyzer.CSharp to version 10.15.0.120848 |
| Chapter-1-initial-architecture/Src/Fitnet//Migrations/.cs | Added blank lines after namespace declarations for consistent formatting |
| Chapter-1-initial-architecture/README.adoc | Updated local development instructions for Aspire |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…st.csproj Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
mj-oeko
approved these changes
Dec 5, 2025
meaboutsoftware
approved these changes
Dec 5, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes:
Rationale: