Skip to content

DimensionDataResearch/fabio-registrator-demo

Repository files navigation

A quick demo - Fabio with Consul and Registrator

The containers

  • 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

Getting started

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.

About

A quick demo using Fabio with Consul and Registrator.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages