Skip to content

Instantly share code, notes, and snippets.

@mrserverless
Forked from usmanismail/docker-compose.yaml
Last active February 17, 2017 09:45
Show Gist options
  • Save mrserverless/20491d07ec2d9794d90ede398f0969c8 to your computer and use it in GitHub Desktop.
Save mrserverless/20491d07ec2d9794d90ede398f0969c8 to your computer and use it in GitHub Desktop.
Docker Cassandra Compose
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