This Dockerfile is a mix of postgres and docker-pgpool2.
THIS IS A WORK IN PROGRESS, DON'T USE IT FOR NOW.
Default users/passwords are docker/docker.
Connect to pgpoolAdmin using your web browser pointed at the port mapped to 80. Connect your pg client to the port mapped to 9999.
Some settings you may wish to change:
- listen_addresses: to
*
so pgpool allows connections from anywhere - enable_pool_hba: on so you can use md5 auth (using PG_REPL_USER/PG_REPL_PASS)