idmtools_platform_local.infrastructure.redis module¶
idmtools redis service.
Copyright 2021, Bill & Melinda Gates Foundation. All rights reserved.
- class idmtools_platform_local.infrastructure.redis.RedisContainer(container_name: str = 'idmtools_redis', image: str = 'redis:5.0.4-alpine', client: DockerClient | None = None, config_prefix: str = 'redis_', network: str | None = None, host_data_directory: str | None = None, mem_limit: str = '256m', mem_reservation: str = '64m', run_as: str | None = None, port: int = 6379, data_volume_name: str | None = None)[source]¶
Bases:
BaseServiceContainer
Provides the redis container for local platform.
- __init__(container_name: str = 'idmtools_redis', image: str = 'redis:5.0.4-alpine', client: DockerClient | None = None, config_prefix: str = 'redis_', network: str | None = None, host_data_directory: str | None = None, mem_limit: str = '256m', mem_reservation: str = '64m', run_as: str | None = None, port: int = 6379, data_volume_name: str | None = None) None ¶