-
-
Save mrserverless/20491d07ec2d9794d90ede398f0969c8 to your computer and use it in GitHub Desktop.
Docker Cassandra Compose
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 characters
CassandraSeed | |
environment: | |
RANCHER_ENABLE: 'true' | |
RANCHER_SEED_SERVICE: CassandraSeed | |
CASSANDRA_RACK: 'rack1' | |
CASSANDRA_DC: aws-us-east | |
CASSANDRA_ENDPOINT_SNITCH: GossipingPropertyFileSnitch | |
labels: | |
io.rancher.container.pull_image: always | |
tty: true | |
image: usman/docker-rancher-cassandra | |
stdin_open: true | |
volumes: | |
- /var/lib/cassandra | |
Cassandra1: | |
environment: | |
RANCHER_ENABLE: 'true' | |
RANCHER_SEED_SERVICE: CassandraSeed | |
CASSANDRA_RACK: 'rack1' | |
CASSANDRA_DC: aws-us-east | |
CASSANDRA_ENDPOINT_SNITCH: GossipingPropertyFileSnitch | |
labels: | |
io.rancher.container.pull_image: always | |
tty: true | |
image: usman/docker-rancher-cassandra | |
stdin_open: true | |
volumes: | |
- /var/lib/cassandra | |
Cassandra2: | |
environment: | |
RANCHER_ENABLE: 'true' | |
RANCHER_SEED_SERVICE: CassandraSeed | |
CASSANDRA_RACK: 'rack2' | |
CASSANDRA_DC: aws-us-east | |
CASSANDRA_ENDPOINT_SNITCH: GossipingPropertyFileSnitch | |
labels: | |
io.rancher.container.pull_image: always | |
tty: true | |
image: usman/docker-rancher-cassandra | |
stdin_open: true | |
volumes: | |
- /var/lib/cassandra | |
Cassandra3: | |
environment: | |
RANCHER_ENABLE: 'true' | |
RANCHER_SEED_SERVICE: CassandraSeed | |
CASSANDRA_RACK: 'rack3' | |
CASSANDRA_DC: aws-us-east | |
CASSANDRA_ENDPOINT_SNITCH: GossipingPropertyFileSnitch | |
labels: | |
io.rancher.container.pull_image: always | |
tty: true | |
image: usman/docker-rancher-cassandra | |
stdin_open: true | |
volumes: | |
- /var/lib/cassandra |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment