Last active
May 15, 2019 09:01
-
-
Save kadnan/2a815fe2d13504e40c9fe0bd16abfd83 to your computer and use it in GitHub Desktop.
Revisions
-
kadnan revised this gist
May 15, 2019 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -20,6 +20,9 @@ services: - /Development/PetProjects/CassandraTut/data/node2:/var/lib/cassandra/data ports: - 9043:9042 command: bash -c 'sleep 60; /docker-entrypoint.sh cassandra -f' depends_on: - cas1 environment: - CASSANDRA_START_RPC=true - CASSANDRA_CLUSTER_NAME=MyCluster -
kadnan created this gist
May 15, 2019 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,28 @@ version: '2' services: cas1: container_name: cas1 image: cassandra:latest volumes: - /Development/PetProjects/CassandraTut/data/node1:/var/lib/cassandra/data ports: - 9042:9042 environment: - CASSANDRA_START_RPC=true - CASSANDRA_CLUSTER_NAME=MyCluster - CASSANDRA_ENDPOINT_SNITCH=GossipingPropertyFileSnitch - CASSANDRA_DC=datacenter1 cas2: container_name: cas2 image: cassandra:latest volumes: - /Development/PetProjects/CassandraTut/data/node2:/var/lib/cassandra/data ports: - 9043:9042 environment: - CASSANDRA_START_RPC=true - CASSANDRA_CLUSTER_NAME=MyCluster - CASSANDRA_ENDPOINT_SNITCH=GossipingPropertyFileSnitch - CASSANDRA_DC=datacenter1 - CASSANDRA_SEEDS=cas1