This is docker image for DataStax Enterprise and DataStax Community Edition.
It has two type of configurable variables:
- build time
- environment
- DATASTAX_VERSION - COMMUNITY | ENTERPRISE (default: COMMUNITY)
- DATASTAX_RELEASE - release to use (default: latest)
- DATASTAX_USERNAME - DataStax username (only required when using ENTERPRISE version)
- DATASTAX_PASSWORD - DataStax password (only requred when using ENTERPRISE version)
- DATASTAX_OPSCENTER - DataStax OpsCenter (whether DSE or OPSCENTER can be installed - by default DSE)
- DSE_ANALYTICS - enables SPARK
- DSE_SEARCH - enables SOLR
- DSE_GRAPH - not implemented
- CASSANDRA_CLUSTER_NAME - Cassandra cluster name
- CASSANDRA_SEEDS - Cassandra seeds (if not specified host IP address will be used)
- CASSANDRA_NUM_TOKENS - number of VNODEs (if not specified single token node is assumed)
- CASSANDRA_INITIAL_TOKEN - initial token used when VNODEs are not specified
- CASSANDRA_DATA_DIR - cassandra data/commitlog/caches location (default: "/cassandra")
- CASSANDRA_LOG_DIR - cassandra logs location (default: "/cassandra-logs")
docker build --build-arg DATASTAX_USERNAME="[email protected]" --build-arg=DATASTAX_PASSWORD=secret --build-arg=DATASTAX_VERSION=ENTERPRISE -t netf/datastax-docker-dse .
docker run -i -d -t netf/datastax-docker