idmtools_platform_local.infrastructure.workers module¶
-
idmtools_platform_local.infrastructure.workers.
get_worker_image_default
()¶
-
class
idmtools_platform_local.infrastructure.workers.
WorkersContainer
(container_name: str = 'idmtools_workers', image: str = 'docker-production.packages.idmod.org/idmtools/local_workers:1.4.0', client: docker.client.DockerClient = None, config_prefix: str = 'workers_', network: str = None, host_data_directory: str = None, postgres_port: int = 5432, redis_port: int = 6379, ui_port: int = 5000, mem_limit: str = '16g', mem_reservation: str = '64m', run_as: str = None, debug_api: bool = True, data_volume_name: str = None)¶ Bases:
idmtools_platform_local.infrastructure.base_service_container.BaseServiceContainer
-
host_data_directory
: str = None¶
-
postgres_port
: int = 5432¶
-
redis_port
: int = 6379¶
-
ui_port
: int = 5000¶
-
mem_limit
: str = '16g'¶
-
mem_reservation
: str = '64m'¶
-
run_as
: str = None¶
-
debug_api
: bool = True¶
-
image
: str = 'docker-production.packages.idmod.org/idmtools/local_workers:1.4.0'¶
-
container_name
: str = 'idmtools_workers'¶
-
data_volume_name
: str = None¶
-
config_prefix
: str = 'workers_'¶
-
get_configuration
() → Dict¶
-
create
(spinner=None) → docker.models.containers.Container¶
-