Example containerized microservices solution.
This solution uses Docker (docker-compose
) with a .dcproj project to:
- Containerize WebAPI services (
acme.sdk.api
,acme.sdk.math
). - Bundle database container along with solution (
acme.sdk.db
). - Connect services together with aliases via a Docker bridge network (
acme.sdk.network
).- Services and DB can be accessed within the
acme.sdk.network
via their network aliases, E.g.http://acme.sdk.math/api/add
- Services and DB can be accessed within the
Set the docker-compose.dcproj
project as the startup project for the solution and all projects and services will build and run, debuggable from your IDE!