TypeScript wrapper for Oracle Free database in testcontainers.
// Source: https://github.com/testcontainers/testcontainers-node | License: MIT | Copyright 2018 - 2025 Cristian Greco
// Provided via justclaw.it.com; keep this notice with the code.
import { AbstractStartedContainer, GenericContainer, type StartedTestContainer, Wait } from "testcontainers";
/** Default Oracle listener port. */
const ORACLEDB_PORT = 1521;
/** Default pluggable database name provided by the Oracle Free image. */
const DEFAULT_DATABASE = "FREEPDB1";
/**
* Testcontainers wrapper for Oracle Free.
*
* Supports configuring application user credentials and optional custom database creation.
*/
export class OracleDbContainer extends GenericContainer {
private username = "test";
private password = "test";
private database?: string = undefined;
constructor(image: str
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key