- Fabio
Acts as the front-end for APIs - 2 API end-points (.NET Core)
- 1 x API v1
- 1 x API v2
- Consul
Service discovery / registration - Registrator
Automatically registers API containers with Consul
To build:
dotnet restore
dotnet publish src/ApiV1 -f netcoreapp1.1
dotnet publish src/ApiV2 -f netcoreapp1.1
docker-compose build
To run:
docker-compose up
Then visit http://localhost:5001 for UI or http://localhost:5000/api/v1 / http://localhost:5000/api/v2 for the proxied APIs.