poppy/docker
amitgandhinz 77b7725d34 renamed conf file to poppy, and shortened summary 2014-08-07 14:33:33 -04:00
..
api renamed conf file to poppy, and shortened summary 2014-08-07 14:33:33 -04:00
cassandra rename to poppy 2014-08-07 13:22:34 -04:00
README.md rename to poppy 2014-08-07 13:51:30 -04:00

README.md

Building the Cassandra Docker Image

From the docker/cassandra folder:

$ docker build -t db .

Running the Cassandra Docker Container

Open the 9160 and 9042 ports for Cassandra. Name the container 'cassandra'

$ docker run -d -p 9160:9160 -p 9042:9042 --name cassandra db

Testing

Access the running cassandra instance (you may need to pip install cqlsh):

$ cqlsh <local ip> 9160

Where local ip is the ip address of your running docker container

Import Schema

Import the schema file from the poppy/storage/cassandra/schema.cql file.