Docker PostgreSQL Master-Slave Replication, run:
make init
If changed env COMPOSE_PROJECT_NAME
need change docker container name in images/postgresql-slave/postgresql.auto.conf
- Docker
docker exec -it postgresql-master bash
psql_master
- After entering psql
SELECT * FROM pg_stat_replication;
MIT License (MIT)