/Microservices

Microservices (Docker, Consul, Registrator, Keycloak, Ocelot, ASP.NET Core, Angular, SQL Server).

Primary LanguageC#MIT LicenseMIT

Microservices

Run

Prerequisites

Steps

Execute docker-compose up --build -d in root directory.

Scale

Execute docker-compose up --build -d --scale customer-api=3 in root directory.

Services

Service Discovery (Consul)

Auth (Keycloak)

Web (Angular)

Gateway

Customer

  • Api (ASP.NET Core)

  • Database: SQL Server

Product

  • Api: ASP.NET Core

  • Database: SQL Server

Certificate

dotnet dev-certs https -ep localhost.pfx -p 123456

dotnet dev-certs https --trust

openssl pkcs12 -in localhost.pfx -out localhost.pem -nodes

openssl pkcs12 -in localhost.pfx -clcerts -nokeys -out localhost.crt

openssl pkcs12 -in localhost.pfx -nocerts -out localhost.key

Todo

  • Envoy

  • Certbot