Last active
November 4, 2017 08:44
-
-
Save boniface/c1cc91e656f68e40c5f57672afb9a5cd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
docker run --name CasDC1SeedOne \ | |
-e WEAVE_CIDR=10.10.10.5/16 \ | |
-e CASSANDRA_CLUSTER_NAME=CPUT \ | |
-e CASSANDRA_DC=DC1 \ | |
-e CASSANDRA_RACK=RC1 \ | |
-e CASSANDRA_ENDPOINT_SNITCH=GossipingPropertyFileSnitch \ | |
-v /data/cassandra/node1:/var/lib/cassandra \ | |
-e CASSANDRA_SEEDS=10.10.10.5,10.10.10.15 \ | |
-d bonifacekabaso/cassandra:2.2.7 | |
docker run --name scylla1 \ | |
--clusterName CPUT \ | |
--dataCenter DC1 \ | |
--rackID RC1 \ | |
--seeds 192.168.0.100,192.168.0.200 \ | |
--endpointSnitch GossipingPropertyFileSnitch \ | |
--volume /var/lib/scylla/node1/data1:/var/lib/scylla \ | |
-d scylladb/scylla:latest | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment