git clone https://gist.github.com/9583fe487bddf853c38a5b8c9db2cf7a.git
cd 9583fe487bddf853c38a5b8c9db2cf7a
docker-compose build
docker-compose down -v
docker-compose up -d
docker-compose exec -u root monitor xinetd
cd 9583fe487bddf853c38a5b8c9db2cf7a
docker-compose exec monitor bash
export PATH=$PATH:/usr/pgsql-11/bin
watch -n 1 /usr/pgsql-11/bin/pg_autoctl show state --pgdata /var/lib/pgsql/11/data