Skip to content

Latest commit

 

History

History
53 lines (41 loc) · 2.47 KB

README.md

File metadata and controls

53 lines (41 loc) · 2.47 KB

Purpose

  • Manage Datastax DSE / Cassandra server with Graph enabled and the Datastax Studio.
  • Exists as docker-compose to make multi-node easier .

Datastax and Studio in Docker

References

Ubuntu - Docker Compose Version

This docker-compose.yml file requires a version of docker-compose that supports version 3.8 files because of the network name setting. At the time of this writing, the official docker-compose in Ubuntu official repositors is version 1.17 which is too old.

This has been tested as working with docker-compose 1.27.4. Some earlier versions probably work.

Update Ubuntu docker compose.

  1. Remove distribution version sudo apt-get remove docker-compose
  2. Install latest per official docker instructions This example shows latest stable as of 10/2020
    1. sudo curl -L "https://github.com/docker/compose/releases/download/1.27.4/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
    2. `chmod +x /usr/local/bin/docker-compose

Instructions Start

Manual Start

  1. Start the cluster with docker-compose up
  2. Wait until it is started You must see the complete message
  3. Connect your browser to the local studio UI http://localhost:9091/connections
  4. Create a connection with Menu --> Connections
  5. Create a connection called DSE.
    1. The port is 9042 an
    2. The host is dse

Instructions Stop

Manual Stop

  1. ctrl-c
  2. docker-compose down

Optional cleanup volumes

You can clean up individual volumes or all volumes in your docker environment.

  1. You can clean up ALL volumes docker volume prune

Features

  • Creates named volumes for storage and notebooks to persist across restarts. You have to remove the named volume to restore to original
  • Exposes everything on localhost
  • Datastacks DSE is limited to 4GB heap

Docker Management

See README.md in the root of this repo

IDE Integration

No IDE integrations specific to this project are called out at this time.