This gist propose a clean way to run a local Citus cluster. A custom database called citus
is created when containers are created and /docker-entrypoint-initdb.d/
hooks allow to create a custom role, change citus
database ownership and install any needed extension.
View Running Citus in Docker for details and another gist for a worse approach!
docker build -t local-citus:latest .
docker-compose -p citus up --scale worker=2 -d