Skip to content

Latest commit

 

History

History

CodeConfigSample

Code Configuration w/ InMemoryConfigProvider and Consul

Projects

Name Role Ports Paths Notes
CCProxy Yarp Proxy 5000 /items Load config from Consul
ItemsApi Items API 5010 /api/items Health checks, self registered service, replicated

Running the demo

Run demo with docker compose

docker compose up --build -d

Set the number of additional instances of the itemsapi to run

docker compose up --scale itemsapi=4 -d 

Shut down docker compose containers

docker compose down