Docker Helper Types (used for the automatic example.env and Configuration.md generation)
Classes¶
DockerComposeSettings(**kwargs: Any)These environment variables are used to configure the default Docker Compose in the MADSci example lab.
Initialize settings with walk-up file discovery.
Configuration file paths (YAML, JSON, TOML, .env) are resolved via walk-up discovery from a starting directory. Each filename walks up independently, so
node.settings.yamlcan resolve in the node dir whilesettings.yamlresolves in the lab root.The starting directory is determined by (in priority order):
_settings_dirkeyword argumentMADSCI_SETTINGS_DIRenvironment variableCurrent working directory (default)
Args: _settings_dir: Starting directory for walk-up file discovery. **kwargs: Forwarded to
BaseSettings.__init__.Ancestors (in MRO)¶
madsci.common.types.base_types.MadsciBaseSettings
pydantic_settings.main.BaseSettings
pydantic.main.BaseModel
Class variables¶
CACHE_PORT: int:DOCUMENT_DB_PORT: int:GROUP_ID: int:OBJECT_STORAGE_CONSOLE_PORT: int:OBJECT_STORAGE_PORT: int:POSTGRES_PORT: int:REPO_PATH: str:USER_ID: int: