An open API service indexing awesome lists of open source software.

https://github.com/juliocesarscheidt/consul-project


https://github.com/juliocesarscheidt/consul-project

consul docker nginx

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

          

# Consul Cluster project

## About

This is a project to create a Consul cluster with 1 master and 2 agents.
In this cluster there will be a service running on the agents that will have a domain being resolved by Consul.

These agents will have a Nginx running and doing a proxy to other HTTP APIs using least connections algorithm.

Finally the master also will have a Nginx, but this will use the Consul as resolver to do a proxy redirect to domain of the service.

## Up and Running

To run using docker-compose:

```bash
docker-compose up -d
```

To access the Consul UI, open on browser:

The APIs are being served on: