def configure(dckr, image, mem_limit, cpu_limit, max_containers, async_job_ports, async_mode=JBoxAsyncJob.MODE_PUB): JBoxContainer.DCKR = dckr JBoxContainer.DCKR_IMAGE = image JBoxContainer.MEM_LIMIT = mem_limit JBoxContainer.CPU_LIMIT = cpu_limit JBoxContainer.MAX_CONTAINERS = max_containers JBoxContainer.ASYNC_JOB = JBoxAsyncJob(async_job_ports, async_mode)