Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.05 KB

File metadata and controls

34 lines (25 loc) · 1.05 KB

Valkey

!!! note This module is INCUBATING. While it is ready for use and operational in the current version of Testcontainers, it is possible that it may receive breaking changes in the future. See our contributing guidelines for more information on our incubating modules policy.

Testcontainers module for Valkey

Valkey's usage examples

You can start a Valkey container instance from any Java application by using:

Default Valkey container inside_block:container

Adding this module to your project dependencies

Add the following dependency to your pom.xml/build.gradle file:

=== "Gradle"

testImplementation "org.testcontainers:valkey:{{latest_version}}"

=== "Maven"

<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>valkey</artifactId>
<version>{{latest_version}}</version>
<scope>test</scope>
</dependency>