Docker and CI
Container image#
WebAPI/Dockerfile builds a .NET 10 runtime image:
| Stage | Base |
|---|---|
base | mcr.microsoft.com/dotnet/aspnet:10.0 |
build | mcr.microsoft.com/dotnet/sdk:10.0 |
final | base, listening on 8080, ASPNETCORE_ENVIRONMENT=Docker |
Build and run from the repository root:
docker build -t devarchitecture-webapi -f WebAPI/Dockerfile .docker run -p 18080:8080 \ -e TokenOptions__SecurityKey="$(openssl rand -base64 32)" \ devarchitecture-webapiThe container uses appsettings.Docker.json, which registers the same services as Development
(in-memory EF, no external database) and ships without a JWT key. The key must be provided at
runtime, otherwise the API stops at startup. See Security.
Smoke test:
curl http://127.0.0.1:18080/healthzHealth endpoints#
| Endpoint | Purpose |
|---|---|
/healthz | Liveness/readiness; used by Docker and CI. Always returns HTTP 200 with a result body |
/health | Same checks, exposed for external monitoring |
CI workflows#
| Workflow | What it does |
|---|---|
ci.yml | restore, vulnerable package scan, Release build, tests, Docker image + /healthz smoke |
integration-tests.yml | API integration tests |
clients-ui.yml | install/build/lint for the JS clients |
e2e.yml | Playwright E2E for Vue, Angular and React; starts the API and seeds data |
codeql.yml | static analysis |
changelog.yml | regenerates CHANGELOG.md with git-cliff |
nuget-release.yml | packs and publishes packages on release |
pages.yml | placeholder — no static site is deployed from this repository |
Every workflow pins .NET 10. The Docker smoke job generates a throwaway signing key instead of storing one in the repository.
Release material#
Deployment checklists, the environment matrix and the rollback playbook live in the main repository
under docs/release/:
docs/release/environment-matrix.mddocs/release/release-checklist.mddocs/release/rollback-playbook.md
For IIS and Azure App Service publishing see Project Publishing (IIS) and Project Publishing (Azure).