🚨 AtomicJar is now part of Docker 🐋! Read the blog

Documentation

Go Rust

Community Module

These modules are maintained by the community, outside of the Testcontainers project.

Description

SurrealDB is an end-to-end cloud-native database designed for modern applications, including web, mobile, serverless, Jamstack, backend, and traditional applications.

With SurrealDB, you can simplify your database and API infrastructure, reduce development time, and build secure, performant apps quickly and cost-effectively.

Read more on SurrealDB Website.

Examples

Dependency:
go get github.com/testcontainers/testcontainers-go/modules/surrealdb
Usage:
surrealdbContainer, err := surrealdb.Run(ctx, "surrealdb/surrealdb:v1.1.1")
Dependency:
cargo add -F surrealdb --dev testcontainers-modules
Usage:
use testcontainers_modules::{surrealdb::SurrealDb, testcontainers::runners::AsyncRunner};
let surrealdb_container = SurrealDb::default().start().await.unwrap();