Giter Site home page Giter Site logo

rancher-elassandra's Introduction

rancher-elassandra

Docker Elassandra with Rancher Support

Image

qxip/rancher-elassandra

Example

version: '2'
services:      
  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: qxip/rancher-elassandra:latest
    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: qxip/rancher-elassandra:latest
    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: qxip/rancher-elassandra:latest
    stdin_open: true
    volumes:
      - /var/lib/cassandra

Test

# nodetool status
Datacenter: aws-us-east
=======================
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
--  Address       Load       Tokens       Owns (effective)  Host ID                  Rack
UN  10.42.246.43  82.65 KiB  8            100.0%            9b5600de-7382-49ce-9684-18631f9288ef  rack1
UN  10.42.127.17  144.32 KiB 8            100.0%            14b872e7-81f5-4adb-9930-336eb244b200  rack2
UN  10.42.139.21  155.39 KiB 8            100.0%            8d8702be-6ec8-4a0f-a328-44e4fed222cf  rack3

rancher-elassandra's People

Contributors

lmangani avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.