This is a submission for the Distributed System's Final Assigment
Simple case which uses patroni that supported by etcd for maximum accessibility and citus for distributed database
git clone https://github.com/zelvann/etcd-patroni.git
cd etcd-patroni && cp .env.example .env && cp patroni.env.example patroni.env
Then edit your environment files, make sure that's a corrent environment. After that,
docker compose up -d
TIP: if you are a nonpriveleged user, you can up docker container as daemon by using sudo