Skip to content
This repository has been archived by the owner on Apr 25, 2020. It is now read-only.

adamcstephens/consul-pg

Repository files navigation

Consul PG Service Discovery Example

This is a docker-based environment for demoing a multi-datacenter PostgreSQL service discovery environment using consul's services, checks and prepared queries.

Prequisites

This assumes you're using docker for mac and have utilities such as curl, dig and jq in your path. If you're not on docker for mac, modify the CONSUL_HOST variables.

Start up

docker-compose up -d
# wait until environment is fully up
./bootstrap.sh
./show-services.sh
./show-dns.sh

Architecture

Consul PG Architecture

About

Consul PG Service Discovery Example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published