Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example of primary and replica whith pgPool #1322

Open
mpkthomasa opened this issue Feb 8, 2021 · 0 comments
Open

Example of primary and replica whith pgPool #1322

mpkthomasa opened this issue Feb 8, 2021 · 0 comments

Comments

@mpkthomasa
Copy link

Hi,

I have two containers primary and replica running crunchydata/crunchy-postgres:centos7-11.8-4.4.0 in a Docker swarm.
docker stack deploy is used to deploy from a compose file.

Now I would like to add pgPool to the compose file to handle replication and load balancing, i would like to have a cluster of three pgPool containers to avoid single point of failure.
Unfortunately, I have not been able to find a good example or description of how to do this in the best way.

Could anyone show me how to do this?

Thanks in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant