Cassandra based image that adds two new environment variables (authenticator and authorizer).
110
When you start the cassandra image, you can adjust the configuration of the Cassandra instance by passing one or more environment variables on the docker run command line.
CASSANDRA_AUTHENTICATOR (NEW)This variable is for controlling the authentication of the cluster. It will set the authenticator option in cassandra.yaml. The default value is AllowAllAuthenticator.
CASSANDRA_AUTHORIZER (NEW)This variable is for controlling the authorization of the cluster. It will set the authorizer option in cassandra.yaml. The default value is AllowAllAuthorizer.
CASSANDRA_LISTEN_ADDRESSThis variable is for controlling which IP address to listen for incoming connections on. The default value is auto, which will set the listen_address option in cassandra.yaml to the IP address of the container as it starts. This default should work in most use cases.
CASSANDRA_BROADCAST_ADDRESSThis variable is for controlling which IP address to advertise to other nodes. The default value is the value of CASSANDRA_LISTEN_ADDRESS. It will set the broadcast_address and broadcast_rpc_address options in cassandra.yaml.
CASSANDRA_RPC_ADDRESSThis variable is for controlling which address to bind the thrift rpc server to. If you do not specify an address, the wildcard address (0.0.0.0) will be used. It will set the rpc_address option in cassandra.yaml.
CASSANDRA_START_RPCThis variable is for controlling if the thrift rpc server is started. It will set the start_rpc option in cassandra.yaml.
CASSANDRA_SEEDSThis variable is the comma-separated list of IP addresses used by gossip for bootstrapping new nodes joining a cluster. It will set the seeds value of the seed_provider option in cassandra.yaml. The CASSANDRA_BROADCAST_ADDRESS will be added the the seeds passed in so that the sever will talk to itself as well.
CASSANDRA_CLUSTER_NAMEThis variable sets the name of the cluster and must be the same for all nodes in the cluster. It will set the cluster_name option of cassandra.yaml.
CASSANDRA_NUM_TOKENSThis variable sets number of tokens for this node. It will set the num_tokens option of cassandra.yaml.
CASSANDRA_DCThis variable sets the datacenter name of this node. It will set the dc option of cassandra-rackdc.properties. You must set CASSANDRA_ENDPOINT_SNITCH to use the "GossipingPropertyFileSnitch" in order for Cassandra to apply cassandra-rackdc.properties, otherwise this variable will have no effect.
CASSANDRA_RACKThis variable sets the rack name of this node. It will set the rack option of cassandra-rackdc.properties. You must set CASSANDRA_ENDPOINT_SNITCH to use the "GossipingPropertyFileSnitch" in order for Cassandra to apply cassandra-rackdc.properties, otherwise this variable will have no effect.
CASSANDRA_ENDPOINT_SNITCHThis variable sets the snitch implementation this node will use. It will set the endpoint_snitch option of cassandra.yml
Content type
Image
Digest
Size
126.5 MB
Last updated
over 8 years ago
docker pull sparcopt/cassandra:3.11.2