@Override
    protected void configure() {
        addEnv("MODE", mode.name().toLowerCase());

        if (!DEFAULT_TENANT_NAME.equals(tenantName)) {
            if (mode == Mode.SLIM) {
                logger().warn("The tenant name is not configurable on slim mode, so this option will be ignored.");
                // reset the tenant name to ensure the constructed username is correct
                tenantName = DEFAULT_TENANT_NAME;
            } else {
                addEnv("OB_TENANT_NAME", tenantName);
            }
        }

        addEnv("OB_TENANT_PASSWORD", password);
    }
Testcontainers implementation for OceanBase Community Edition.
<p>
Supported image: {@code oceanbase/oceanbase-ce}
<p>
Exposed ports:
<ul>
    <li>SQL: 2881</li>
    <li>RPC: 2882</li>
</ul>
modules/oceanbase/src/main/java/org/testcontainers/oceanbase/OceanBaseCEContainer.java