diff --git a/3.11/docker-entrypoint.sh b/3.11/docker-entrypoint.sh index 16d183a..4faf321 100755 --- a/3.11/docker-entrypoint.sh +++ b/3.11/docker-entrypoint.sh @@ -13,6 +13,25 @@ if [ "$1" = 'cassandra' -a "$(id -u)" = '0' ]; then fi if [ "$1" = 'cassandra' ]; then + + : ${CASSANDRA_RANGE_REQUEST_TIMEOUT_IN_MS='10000'} + + : ${CASSANDRA_WRITE_REQUEST_TIMEOUT_IN_MS='2000'} + + : ${CASSANDRA_COUNTER_WRITE_REQUEST_TIMEOUT_IN_MS='5000'} + + : ${CASSANDRA_READ_REQUEST_TIMEOUT_IN_MS='5000'} + + : ${CASSANDRA_REQUEST_TIMEOUT_IN_MS='10000'} + + : ${CASSANDRA_STORAGE_PORT='7000'} + + : ${CASSANDRA_SSL_STORAGE_PORT='7001'} + + : ${CASSANDRA_NATIVE_TRANSPORT_PORT='9042'} + + : ${CASSANDRA_RPC_PORT='9160'} + : ${CASSANDRA_RPC_ADDRESS='0.0.0.0'} : ${CASSANDRA_LISTEN_ADDRESS='auto'} @@ -43,6 +62,15 @@ if [ "$1" = 'cassandra' ]; then num_tokens \ rpc_address \ start_rpc \ + storage_port \ + ssl_storage_port \ + native_transport_port \ + rpc_port \ + read_request_timeout_in_ms \ + request_timeout_in_ms \ + range_request_timeout_in_ms \ + write_request_timeout_in_ms \ + counter_write_request_timeout_in_ms \ ; do var="CASSANDRA_${yaml^^}" val="${!var}"