Skip to content

Docker image + .NET Aspire integration + proxy samples (issue #10) - #11

Merged
MPCoreDeveloper merged 1 commit into
mainfrom
feature/issue-10-docker-aspire
Sep 5, 2026
Merged

Docker image + .NET Aspire integration + proxy samples (issue #10)#11
MPCoreDeveloper merged 1 commit into
mainfrom
feature/issue-10-docker-aspire

Conversation

@MPCoreDeveloper

Copy link
Copy Markdown
Owner

Closes#10

Implements all three parts of the issue:

1. Official Docker image for SCDMS

  • Production Dockerfile + .github/workflows/docker-publish.yml (linux/amd64 + linux/arm64).
  • Published automatically to ghcr.io/mpcoredeveloper/scdms on the next v* tag.
  • Until then: docker build -t ghcr.io/mpcoredeveloper/scdms:latest .

2. .NET Aspire integration (pgweb/pgAdmin-style)

  • New SCDMS.Aspire.Hosting package (AddSharpCoreDB + AddSCDMS + WithGrpcReference), wired via SCDMS__DefaultServer* env vars over gRPC.
  • Runnable AppHost example: examples/Aspire/SCDMS.AppHost.
  • Pairs with the published SharpCoreDB-side SharpCoreDB.Aspire.Hosting 2.0.0.2.
  • NuGet publish workflow (.github/workflows/nuget-publish.yml).

3. Docker Compose samples (three proxy options)

  • Caddy (auto-TLS): samples/docker/
  • YARP (all-.NET): samples/yarp/
  • HAProxy (industry standard + automatic ACME/Let's Encrypt variant): samples/haproxy/

Docs

  • docs/aspire.md (status -> implemented)
  • docs/container-and-aspire-guide.md (run & test guide for both options, incl. TLS notes)
  • README + usage updates

Testing

See the run & test guide (docs/container-and-aspire-guide.md, section 5 = full end-to-end local recipe).
Quick start: dotnet run --project examples/Aspire/SCDMS.AppHost or cd samples/docker && docker compose up -d.

@MPCoreDeveloper
MPCoreDeveloperforce-pushed the feature/issue-10-docker-aspire branch 2 times, most recently from b74f9b4 to 8550085CompareSeptember 5, 2026 10:11
Implements GitHub issue #10 (Docker image for SCDMS + .NET Aspire integration + Compose samples):
- SCDMS.Aspire.Hosting NuGet package (AddSCDMS, WithGrpcReference) + AppHost example (examples/Aspire)
- Docker publish + NuGet publish workflows; solution + CPM wiring; global.json (net10 SDK)
- Compose samples: Caddy (samples/docker), YARP all-.NET (samples/yarp), HAProxy + automatic ACME variant (samples/haproxy)
- Docs: docs/aspire.md, docs/container-and-aspire-guide.md, README, usage
@MPCoreDeveloper
MPCoreDeveloperforce-pushed the feature/issue-10-docker-aspire branch from 8550085 to f7ccbc3CompareSeptember 5, 2026 10:14
@sonarqubecloud

Copy link
Copy Markdown

@MPCoreDeveloper
MPCoreDeveloper merged commit 9e3bbae into mainSep 5, 2026
4 checks passed
@MPCoreDeveloper
MPCoreDeveloper deleted the feature/issue-10-docker-aspire branch September 5, 2026 10:16
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docker image for SCDMS and .NET Aspire integration (pgweb/pgAdmin-style)

1 participant

@MPCoreDeveloper