@Override
    protected void configure() {
        // If license was not accepted programmatically, check if it was accepted via resource file
        if (!getEnvMap().containsKey("LICENSE")) {
            LicenseAcceptance.assertLicenseAccepted(this.getDockerImageName());
            acceptLicense();
        }

        addEnv("DBNAME", databaseName);
        addEnv("DB2INSTANCE", username);
        addEnv("DB2INST1_PASSWORD", password);

        // These settings help the DB2 container start faster
        if (!getEnvMap().containsKey("AUTOCONFIG")) {
            addEnv("AUTOCONFIG", "false");
        }
        if (!getEnvMap().containsKey("ARCHIVE_LOGS")) {
            addEnv("ARCHIVE_LOGS", "false");
        }
    }
@return the ports on which to check if the container is ready
@deprecated use {@link #getLivenessCheckPortNumbers()} instead
modules/db2/src/main/java/org/testcontainers/containers/Db2Container.java