brew install boot2docker
eval $(boot2docker shellinit)
boot2docker up
sudo pip install -U docker-compose
# put the docker-compose.yml file in a directory e.g. ~/Work/docker/cassandra
cd ~/Work/docker/cassandra
docker-compose up
open http://$(boot2docker ip):8888
Forked from disintegrator/Cassandra-OpsCenter-Compose.md
Created
October 12, 2016 11:35
-
-
Save rasheedamir/c35d382c4ed5a8b5aea427047ffa85e5 to your computer and use it in GitHub Desktop.
OSX: 3-node Cassandra cluster + OpsCenter using Docker 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
cass0: | |
image: poklet/cassandra | |
ports: | |
- "9042:9042" | |
- "9160:9160" | |
cass1: | |
image: poklet/cassandra | |
links: | |
- cass0:seed | |
environment: | |
SEEDS: seed | |
cass2: | |
image: poklet/cassandra | |
links: | |
- cass0:seed | |
environment: | |
SEEDS: seed | |
ops: | |
image: poklet/opscenter | |
links: | |
- cass0:seed | |
ports: | |
- "8888:8888" | |
# After launching with `docker-compose up` in OSX run: | |
# open http://$(boot2docker ip):8888 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment