mirror of
https://github.com/bitnami/containers.git
synced 2026-03-21 15:29:05 +08:00
[bitnami/cassandra] Release 4.1.4-debian-12-r10 (#66281)
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
@@ -164,80 +164,80 @@ docker-compose up -d
|
||||
|
||||
#### Customizable environment variables
|
||||
|
||||
| Name | Description | Default Value |
|
||||
|----------------------------------------------------|-----------------------------------------------------------------------------------------|----------------------------------------------|
|
||||
| `CASSANDRA_VOLUME_DIR` | Cassandra persistence directory. | `/bitnami/cassandra` |
|
||||
| `CASSANDRA_DATA_DIR` | Cassandra directory where data is stored. | `${CASSANDRA_VOLUME_DIR}/data` |
|
||||
| `CASSANDRA_COMMITLOG_DIR` | Cassandra commit log directory. | `${CASSANDRA_DATA_DIR}/commitlog` |
|
||||
| `CASSANDRA_MOUNTED_CONF_DIR` | Cassandra directory for mounted configuration files. | `${CASSANDRA_VOLUME_DIR}/conf` |
|
||||
| `CASSANDRA_CLIENT_ENCRYPTION` | Enable client encryption. | `false` |
|
||||
| `CASSANDRA_CLUSTER_NAME` | Cassandra cluster name. | `My Cluster` |
|
||||
| `CASSANDRA_DATACENTER` | Cassandra datacenter name. | `dc1` |
|
||||
| `CASSANDRA_ENABLE_REMOTE_CONNECTIONS` | Enable connection from remote locations. | `true` |
|
||||
| `CASSANDRA_ENABLE_RPC` | Enable RPC endpoint in Cassandra. | `true` |
|
||||
| `CASSANDRA_ENABLE_USER_DEFINED_FUNCTIONS` | Enable user defined functions. | `false` |
|
||||
| `CASSANDRA_ENABLE_SCRIPTED_USER_DEFINED_FUNCTIONS` | Enable scripted user defined functions. | `false` |
|
||||
| `CASSANDRA_ENDPOINT_SNITCH` | Name of the cluster endpoint snitch. | `SimpleSnitch` |
|
||||
| `CASSANDRA_HOST` | Cassandra host name. | `nil` |
|
||||
| `CASSANDRA_INTERNODE_ENCRYPTION` | Internode encryption type. | `none` |
|
||||
| `CASSANDRA_NUM_TOKENS` | Number of tokens in cluster connection. | `256` |
|
||||
| `CASSANDRA_PASSWORD_SEEDER` | Set the node as password seeder in the clustre. | `no` |
|
||||
| `CASSANDRA_SEEDS` | List of cluster seeds. | `$CASSANDRA_HOST` |
|
||||
| `CASSANDRA_PEERS` | List of cluster peers. | `$CASSANDRA_SEEDS` |
|
||||
| `CASSANDRA_PEERS` | List of cluster peers. | `$CASSANDRA_SEEDS` |
|
||||
| `CASSANDRA_NODES` | List of cluster nodes (seeders and non seeders) | `nil` |
|
||||
| `CASSANDRA_RACK` | Cassandra rack name. | `rack1` |
|
||||
| `CASSANDRA_BROADCAST_ADDRESS` | Node broadcast address. | `nil` |
|
||||
| `CASSANDRA_AUTOMATIC_SSTABLE_UPGRADE` | Automatically upgrade sstables after upgrade. | `false` |
|
||||
| `CASSANDRA_STARTUP_CQL` | Startup CQL commands to run at boot. | `nil` |
|
||||
| `CASSANDRA_IGNORE_INITDB_SCRIPTS` | Ignore the execution of init scripts | `no` |
|
||||
| `CASSANDRA_CQL_PORT_NUMBER` | CQL port. | `9042` |
|
||||
| `CASSANDRA_JMX_PORT_NUMBER` | JMX port. | `7199` |
|
||||
| `CASSANDRA_TRANSPORT_PORT_NUMBER` | Transport port. | `7000` |
|
||||
| `CASSANDRA_CQL_MAX_RETRIES` | Maximum retries for CQL startup operations. | `20` |
|
||||
| `CASSANDRA_CQL_SLEEP_TIME` | Sleep time for CQL startup operations. | `5` |
|
||||
| `CASSANDRA_INIT_MAX_RETRIES` | Maximum retries for init startup operations. | `100` |
|
||||
| `CASSANDRA_INIT_SLEEP_TIME` | Sleep time for init startup operations. | `5` |
|
||||
| `CASSANDRA_PEER_CQL_MAX_RETRIES` | Maximum retries for peer startup operations. | `100` |
|
||||
| `CASSANDRA_PEER_CQL_SLEEP_TIME` | Sleep time for peer startup operations. | `10` |
|
||||
| `CASSANDRA_DELAY_START_TIME` | Delay Cassandra start by the number of provided seconds. | `0` |
|
||||
| `CASSANDRA_AUTO_SNAPSHOT_TTL` | Take an automatic snapshot of the data before truncating a keyspace or dropping a table | `30d` |
|
||||
| `ALLOW_EMPTY_PASSWORD` | Allow no credentials in the installation. | `no` |
|
||||
| `CASSANDRA_AUTHORIZER` | Cassandra connection authorizer. | `CassandraAuthorizer` |
|
||||
| `CASSANDRA_AUTHENTICATOR` | Cassandra connection authenticator. | `PasswordAuthenticator` |
|
||||
| `CASSANDRA_USER` | Cassandra username. | `cassandra` |
|
||||
| `CASSANDRA_PASSWORD` | Cassandra password. | `nil` |
|
||||
| `CASSANDRA_KEYSTORE_PASSWORD` | Cassandra keystore password. | `cassandra` |
|
||||
| `CASSANDRA_TRUSTSTORE_PASSWORD` | Cassandra truststore password. | `cassandra` |
|
||||
| `CASSANDRA_KEYSTORE_LOCATION` | Cassandra keystore location. | `${CASSANDRA_VOLUME_DIR}/secrets/keystore` |
|
||||
| `CASSANDRA_TRUSTSTORE_LOCATION` | Cassandra truststore location. | `${CASSANDRA_VOLUME_DIR}/secrets/truststore` |
|
||||
| `CASSANDRA_SSL_VALIDATE` | Perform SSL validation on the certificates. | `false` |
|
||||
| `SSL_VERSION` | TLS version to use when connecting. | `TLSv1_2` |
|
||||
| Name | Description | Default Value |
|
||||
|----------------------------------------------------|-----------------------------------------------------------------------------------------|---------------------------------------|
|
||||
| `CASSANDRA_MOUNTED_CONF_DIR` | Cassandra directory for mounted configuration files | `${DB_VOLUME_DIR}/conf` |
|
||||
| `CASSANDRA_CLIENT_ENCRYPTION` | Enable client encryption | `false` |
|
||||
| `CASSANDRA_CLUSTER_NAME` | Cassandra cluster name | `My Cluster` |
|
||||
| `CASSANDRA_DATACENTER` | Cassandra datacenter name | `dc1` |
|
||||
| `CASSANDRA_ENABLE_REMOTE_CONNECTIONS` | Enable connection from remote locations | `true` |
|
||||
| `CASSANDRA_ENABLE_RPC` | Enable RPC endpoint in Cassandra | `false` |
|
||||
| `CASSANDRA_ENABLE_USER_DEFINED_FUNCTIONS` | Enable user defined functions | `false` |
|
||||
| `CASSANDRA_ENABLE_SCRIPTED_USER_DEFINED_FUNCTIONS` | Enable scripted user defined functions | `false` |
|
||||
| `CASSANDRA_ENDPOINT_SNITCH` | Name of the cluster endpoint snitch | `SimpleSnitch` |
|
||||
| `CASSANDRA_HOST` | Cassandra host name | `nil` |
|
||||
| `CASSANDRA_INTERNODE_ENCRYPTION` | Internode encryption type | `none` |
|
||||
| `CASSANDRA_NUM_TOKENS` | Number of tokens in cluster connection | `256` |
|
||||
| `CASSANDRA_PASSWORD_SEEDER` | Set node as password seeder in the cluster | `no` |
|
||||
| `CASSANDRA_SEEDS` | List of cluster seeds | `$DB_HOST` |
|
||||
| `CASSANDRA_PEERS` | List of cluster peers | `$DB_SEEDS` |
|
||||
| `CASSANDRA_NODES` | List of cluster nodes (seeders and non seeders) | `nil` |
|
||||
| `CASSANDRA_RACK` | Cassandra rack name | `rack1` |
|
||||
| `CASSANDRA_BROADCAST_ADDRESS` | Node broadcast address | `nil` |
|
||||
| `CASSANDRA_AUTOMATIC_SSTABLE_UPGRADE` | Automatically upgrade sstables after upgrade | `false` |
|
||||
| `CASSANDRA_STARTUP_CQL` | Startup CQL commands to run at boot | `nil` |
|
||||
| `CASSANDRA_IGNORE_INITDB_SCRIPTS` | Ignore the execution of init scripts | `no` |
|
||||
| `CASSANDRA_CQL_PORT_NUMBER` | CQL port | `9042` |
|
||||
| `CASSANDRA_JMX_PORT_NUMBER` | JMX port | `7199` |
|
||||
| `CASSANDRA_TRANSPORT_PORT_NUMBER` | Transport port | `7000` |
|
||||
| `CASSANDRA_CQL_MAX_RETRIES` | Maximum retries for CQL startup operations | `20` |
|
||||
| `CASSANDRA_CQL_SLEEP_TIME` | Sleep time for CQL startup operations | `5` |
|
||||
| `CASSANDRA_INIT_MAX_RETRIES` | Maximum retries for init startup operations | `100` |
|
||||
| `CASSANDRA_INIT_SLEEP_TIME` | Sleep time for init startup operations | `5` |
|
||||
| `CASSANDRA_PEER_CQL_MAX_RETRIES` | Maximum retries for peer startup operations | `100` |
|
||||
| `CASSANDRA_PEER_CQL_SLEEP_TIME` | Sleep time for peer startup operations | `10` |
|
||||
| `CASSANDRA_DELAY_START_TIME` | Delay Cassandra start by the number of provided seconds | `10` |
|
||||
| `CASSANDRA_AUTO_SNAPSHOT_TTL` | Take an automatic snapshot of the data before truncating a keyspace or dropping a table | `30d` |
|
||||
| `ALLOW_EMPTY_PASSWORD` | Allow no credentials in the installation. | `no` |
|
||||
| `CASSANDRA_AUTHORIZER` | Cassandra connection authorizer | `CassandraAuthorizer` |
|
||||
| `CASSANDRA_AUTHENTICATOR` | Cassandra connection authenticator | `PasswordAuthenticator` |
|
||||
| `CASSANDRA_USER` | Cassandra username | `cassandra` |
|
||||
| `CASSANDRA_PASSWORD` | Cassandra password | `nil` |
|
||||
| `CASSANDRA_KEYSTORE_PASSWORD` | Cassandra keystore password | `cassandra` |
|
||||
| `CASSANDRA_TRUSTSTORE_PASSWORD` | Cassandra truststore password | `cassandra` |
|
||||
| `CASSANDRA_KEYSTORE_LOCATION` | Cassandra keystore location | `${DB_VOLUME_DIR}/secrets/keystore` |
|
||||
| `CASSANDRA_TRUSTSTORE_LOCATION` | Cassandra truststore location | `${DB_VOLUME_DIR}/secrets/truststore` |
|
||||
| `CASSANDRA_TMP_P12_FILE` | Cassandra truststore location | `${DB_TMP_DIR}/keystore.p12` |
|
||||
| `CASSANDRA_SSL_CERT_FILE` | Cassandra SSL certificate location | `${DB_VOLUME_DIR}/client.cer.pem` |
|
||||
| `CASSANDRA_SSL_VALIDATE` | Perform SSL validation on the certificates | `false` |
|
||||
| `SSL_VERSION` | TLS version to use when connecting. | `TLSv1_2` |
|
||||
|
||||
#### Read-only environment variables
|
||||
|
||||
| Name | Description | Value |
|
||||
|---------------------------------------|--------------------------------------------|--------------------------------------------------------|
|
||||
| `CASSANDRA_BASE_DIR` | Cassandra installation directory. | `${BITNAMI_ROOT_DIR}/cassandra` |
|
||||
| `CASSANDRA_BIN_DIR` | Cassandra binary directory. | `${CASSANDRA_BASE_DIR}/bin` |
|
||||
| `CASSANDRA_CONF_DIR` | Cassandra configuration directory. | `${CASSANDRA_BASE_DIR}/conf` |
|
||||
| `CASSANDRA_DEFAULT_CONF_DIR` | Cassandra configuration directory. | `${CASSANDRA_BASE_DIR}/conf.default` |
|
||||
| `CASSANDRA_INITSCRIPTS_DIR` | Cassandra directory for init scripts. | `/docker-entrypoint-initdb.d` |
|
||||
| `CASSANDRA_LOG_DIR` | Cassandra directory for logs. | `${CASSANDRA_BASE_DIR}/logs` |
|
||||
| `CASSANDRA_TMP_DIR` | Cassandra directory for temporary files. | `${CASSANDRA_BASE_DIR}/tmp` |
|
||||
| `JAVA_BASE_DIR` | Java base directory. | `${BITNAMI_ROOT_DIR}/java` |
|
||||
| `JAVA_BIN_DIR` | Java binary directory. | `${JAVA_BASE_DIR}/bin` |
|
||||
| `PYTHON_BASE_DIR` | Python base directory. | `${BITNAMI_ROOT_DIR}/python` |
|
||||
| `PYTHON_BIN_DIR` | Python binary directory. | `${PYTHON_BASE_DIR}/bin` |
|
||||
| `CASSANDRA_CONF_FILE` | Path to the Cassandra configuration file. | `${CASSANDRA_CONF_DIR}/cassandra.yaml` |
|
||||
| `CASSANDRA_LOG_FILE` | Path to the Cassandra log file. | `${CASSANDRA_LOG_DIR}/cassandra.log` |
|
||||
| `CASSANDRA_FIRST_BOOT_LOG_FILE` | Path to the Cassandra first boot log file. | `${CASSANDRA_LOG_DIR}/cassandra_first_boot.log` |
|
||||
| `CASSANDRA_INITSCRIPTS_BOOT_LOG_FILE` | Path to the Cassandra first boot log file. | `${CASSANDRA_LOG_DIR}/cassandra_init_scripts_boot.log` |
|
||||
| `CASSANDRA_PID_FILE` | Path to the PID file for Cassandra. | `${CASSANDRA_TMP_DIR}/cassandra.pid` |
|
||||
| `CASSANDRA_DAEMON_USER` | Cassandra system user. | `cassandra` |
|
||||
| `CASSANDRA_DAEMON_GROUP` | Cassandra system group. | `cassandra` |
|
||||
| `CASSANDRA_TMP_P12_FILE` | Cassandra temporary p12 file location. | `${CASSANDRA_TMP_DIR}/keystore.p12` |
|
||||
| `CASSANDRA_SSL_CERT_FILE` | Cassandra SSL certificate location. | `${CASSANDRA_VOLUME_DIR}/client.cer.pem` |
|
||||
| Name | Description | Value |
|
||||
|---------------------------------------|-----------------------------------------------------------|-------------------------------------------------|
|
||||
| `DB_FLAVOR` | Database flavor. Valid values: `cassandra` or `scylladb`. | `cassandra` |
|
||||
| `CASSANDRA_BASE_DIR` | Cassandra installation directory | `/opt/bitnami/cassandra` |
|
||||
| `CASSANDRA_BIN_DIR` | Cassandra executables directory | `${DB_BASE_DIR}/bin` |
|
||||
| `CASSANDRA_CONF_DIR` | Cassandra configuration directory | `${DB_BASE_DIR}/conf` |
|
||||
| `CASSANDRA_VOLUME_DIR` | Persistence base directory | `/bitnami/cassandra` |
|
||||
| `CASSANDRA_DATA_DIR` | Cassandra data directory | `${DB_VOLUME_DIR}/data` |
|
||||
| `CASSANDRA_COMMITLOG_DIR` | Cassandra commit log directory | `${DB_DATA_DIR}/commitlog` |
|
||||
| `CASSANDRA_DEFAULT_CONF_DIR` | Cassandra default configuration directory | `${DB_BASE_DIR}/conf.default` |
|
||||
| `CASSANDRA_INITSCRIPTS_DIR` | Path to the Cassandra container init scripts directory | `/docker-entrypoint-initdb.d` |
|
||||
| `CASSANDRA_LOG_DIR` | Cassandra logs directory | `${DB_BASE_DIR}/logs` |
|
||||
| `CASSANDRA_TMP_DIR` | Cassandra temporary directory | `${DB_BASE_DIR}/tmp` |
|
||||
| `JAVA_BASE_DIR` | Java base directory | `${BITNAMI_ROOT_DIR}/java` |
|
||||
| `JAVA_BIN_DIR` | Java binary directory | `${JAVA_BASE_DIR}/bin` |
|
||||
| `PYTHON_BASE_DIR` | Python base directory | `${BITNAMI_ROOT_DIR}/python` |
|
||||
| `PYTHON_BIN_DIR` | Python binary directory | `${PYTHON_BASE_DIR}/bin` |
|
||||
| `CASSANDRA_CONF_FILE` | Path to Cassandra configuration file | `${DB_CONF_DIR}/cassandra.yaml` |
|
||||
| `CASSANDRA_LOG_FILE` | Path to the Cassandra log file | `${DB_LOG_DIR}/cassandra.log` |
|
||||
| `CASSANDRA_FIRST_BOOT_LOG_FILE` | Path to the Cassandra first boot log file | `${DB_LOG_DIR}/cassandra_first_boot.log` |
|
||||
| `CASSANDRA_INITSCRIPTS_BOOT_LOG_FILE` | Path to the Cassandra init scripts log file | `${DB_LOG_DIR}/cassandra_init_scripts_boot.log` |
|
||||
| `CASSANDRA_PID_FILE` | Path to the Cassandra pid file | `${DB_TMP_DIR}/cassandra.pid` |
|
||||
| `CASSANDRA_DAEMON_USER` | Cassandra system user | `cassandra` |
|
||||
| `CASSANDRA_DAEMON_GROUP` | Cassandra system group | `cassandra` |
|
||||
|
||||
Additionally, any environment variable beginning with the following prefix will be mapped to its corresponding Apache Cassandra key in the proper file:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user