Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 700 Bytes

README.md

File metadata and controls

26 lines (21 loc) · 700 Bytes

docker-cassandra-cluster

Basic cluster script for cassandra using docker.

This is meant for local development, though you could boot this up onto a docker-machine cluster. If you do indeed embark on that journey pay particular attention to the port specs in the compose yaml. It may be more than you'd want for production. Also consider a service container exposed with ports that are linked instead.

Get Going

bash cluster.sh up

Logging to file

COMPOSE_LOG=true bash cluster.sh up

With volume mounts

  1. Uncomment createData() calls in cluster.sh.
  2. Uncomment volume entries in docker-compose.yml
  3. Re-run script (see above)