Public | Automated Build

Last pushed: 16 days ago
Short Description
Short description is empty for this repo.
Full Description

Impulse

setup

install boot2docker

brew update
brew install boot2docker
boot2docker download
boot2docker init

start boot2docker

boot2docker up

stop boot2docker

boot2docker down

install docker-compose

brew install docker-compose

Usage

pull docker images

docker login
## input your docker hub credentials
docker-compose pull

start es, kibana

docker-compose up elasticsearch kibana

start cassandra

docker-compose up cassandra

init cassandra

docker run -it --rm=true --net=host -v $(pwd)/scripts/cassandra:/var cassandra bash -c "cd /var; sh init.sh"

# optionally change default values
export HOST=localhost
export KEYSPACE=impulse
export REPLICATION_CLASS=SimpleStrategy
export REPLICATION_FACTOR=1
docker run -it --rm=true --net=host -v $(pwd)/scripts/cassandra:/var \
    -e "HOST" -e "KEYSPACE" -e "REPLICATION_CLASS" -e "REPLICATION_FACTOR" \
    cassandra bash -c "cd /var; sh init.sh"

start kafka, zookeeper

docker-compose up kafka zookeeper

start impulse-sql

docker-compose run impulse bash

remove stopped instances

docker-compose rm
Docker Pull Command
Owner
neuron
Source Repository

Comments (0)