This setup expects you to have built the consul:local
image:
You can do so by cloning Consul and running the following commands:
make ui-docker
make dev-docker
yarn setup:tls
docker-compose up
The setup will start two agents with the UI enabled:
- server-1 - https://localhost:8501/ui/
- server-2 - https://localhost:8601/ui/
You can customize what consul image will be used by providing the
CONSUL_IMAGE
environment variable.
CONSUL_IMAGE=consul:latest docker-compose up