https://github.com/juliocesarscheidt/consul-project
https://github.com/juliocesarscheidt/consul-project
consul docker nginx
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/juliocesarscheidt/consul-project
- Owner: juliocesarscheidt
- Created: 2021-04-09T05:03:31.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-04-09T05:03:41.000Z (about 5 years ago)
- Last Synced: 2025-03-18T02:44:26.306Z (over 1 year ago)
- Topics: consul, docker, nginx
- Language: Dockerfile
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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: