def METHOD_NAME(container: DIContainer, data_dir: Path):
    container.register_instance(
        IFileRepository,
        _decorate_file_repository(LocalStorageFileRepository(data_dir / "runtime_data")),
    )
    container.register_instance(ISimulationRepository, container.resolve(FileSimulationRepository))
    container.register_instance(
        ICredentialsRepository, container.resolve(MongoCredentialsRepository)
    )
    container.register_instance(IAgentEventRepository, container.resolve(MongoAgentEventRepository))
    container.register_instance(INodeRepository, container.resolve(MongoNodeRepository))
    container.register_instance(IMachineRepository, _build_machine_repository(container))
    container.register_instance(IAgentRepository, container.resolve(MongoAgentRepository))
    container.register_instance(AgentMachineFacade, container.resolve(AgentMachineFacade))
    container.register_instance(
        NetworkModelUpdateFacade, container.resolve(NetworkModelUpdateFacade)
    )