Provides functionality for creating and managing ScyllaDB container configurations.
ScyllaDB is a Cassandra-compatible NoSQL database. This container exposes
port 9042 (CQL) by default and uses nodetool to wait for readiness.
Example
{:ok, container} = TestcontainerEx.start_container(ScyllaContainer.new())
port = ScyllaContainer.port(container)
host = TestcontainerEx.get_host(container)
Summary
Functions
Returns a host:port connection URI string.
Returns the default image name without tag.
Returns the default CQL port (9042).
Creates a new ScyllaContainer with default configuration.
Returns the mapped host port for the CQL port.
Sets the check image regex used to validate the image name.
Sets the container image (e.g. "scylladb/scylla:5.4").
Enables or disables container reuse.
Sets the wait timeout in milliseconds.
Types
Functions
@spec connection_uri(TestcontainerEx.Container.Config.t()) :: String.t()
Returns a host:port connection URI string.
@spec default_image() :: String.t()
Returns the default image name without tag.
@spec default_port() :: 9042
Returns the default CQL port (9042).
@spec new() :: t()
Creates a new ScyllaContainer with default configuration.
@spec port(TestcontainerEx.Container.Config.t()) :: integer() | nil
Returns the mapped host port for the CQL port.
Sets the check image regex used to validate the image name.
Sets the container image (e.g. "scylladb/scylla:5.4").
Enables or disables container reuse.
@spec with_wait_timeout(t(), pos_integer()) :: t()
Sets the wait timeout in milliseconds.