def METHOD_NAME(self):
    """
        This methods gets ENV variable from `os` and
        generates configuration object
        returns (dict): Dict of configurati0n
    """
    # Configuration of Flask APP to be able to access Fed-BioMed node information
    self.configuration['NODE_FEDBIOMED_ROOT'] = os.getenv('FEDBIOMED_DIR', '/fedbiomed')
    # Config file that is located in ${FEDBIOMED_DIR}/gui directory
    cfg.read(os.path.join(self.configuration['NODE_FEDBIOMED_ROOT'], 'gui', 'config_gui.ini'))
    # Data path ------------------------------------------------------------------------------------------------
    data_path = os.getenv('DATA_PATH', cfg.get('server', 'DATA_PATH', fallback='/data'))
    if data_path.startswith('/'):
        assert os.path.isdir(
            data_path), f'Data folder path "{data_path}" does not exist or it is not a directory.'
    else:
        data_path = os.path.join(self.configuration['NODE_FEDBIOMED_ROOT'], data_path)
        assert os.path.isdir(data_path), f'{data_path} has not been found in Fed-BioMed root directory or ' \
                                         f'it is not a directory. Please make sure that the folder is exist.'
    # Data path where datafiles are stored. Since node and gui works in same machine without docker,
    # path for writing and reading will be same for saving into database
    self.configuration['DATA_PATH_RW'] = data_path
    self.configuration['DATA_PATH_SAVE'] = data_path
    self.configuration['DEFAULT_ADMIN_CREDENTIAL'] = {'email': cfg.get('init_admin', 'email'),
                                                      'password': cfg.get('init_admin', 'password')}
    # -----------------------------------------------------------------------------------------------------------
    # Node config file ------------------------------------------------------------------------------------------
    # Get name of the config file default is "config_node.ini"
    self.configuration['NODE_CONFIG_FILE'] = os.getenv('NODE_CONFIG_FILE',
                                                       "config_node.ini")
    # Exact configuration file path
    self.configuration['NODE_CONFIG_FILE_PATH'] = \
        os.path.join(self.configuration["NODE_FEDBIOMED_ROOT"],
                     'etc',
                     self.configuration['NODE_CONFIG_FILE'])
    # Append Fed-BioMed root dir as a python path
    sys.path.append(self.configuration['NODE_FEDBIOMED_ROOT'])
    # Set config file path to make `fedbiomed.common.environ` to parse
    # correct config file
    os.environ["CONFIG_FILE"] = self.configuration['NODE_CONFIG_FILE_PATH']
    node_id = get_node_id(self.configuration['NODE_CONFIG_FILE_PATH'])
    # Set node NODE_DI
    self.configuration['ID'] = node_id
    # Set DB_PATH based on given node id
    self.configuration['NODE_DB_PATH'] = \
        os.path.join(self.configuration["NODE_FEDBIOMED_ROOT"],
                     'var',
                     'db_' + self.configuration['ID'] + '.json')
    # Set GUI_PATH based on given node id
    self.configuration['GUI_DB_PATH'] = \
        os.path.join(self.configuration["NODE_FEDBIOMED_ROOT"],
                     'var',
                     'gui_db_' + self.configuration['ID'] + '.json')
    # Enable debug mode
    self.configuration['DEBUG'] = os.getenv('DEBUG', 'True').lower() in \
                                  ('true', 1, True, 'yes')
    # TODO: Let users decide which port they would like to use
    # Serve  configurations PORT and IP
    self.configuration['PORT'] = os.getenv('PORT', cfg.get('server', 'PORT', fallback=8484))
    self.configuration['HOST'] = os.getenv('HOST', cfg.get('server', 'HOST', fallback='localhost'))
    # Log information for setting up a node connection
    print(f'INFO: Fed-BioMed Node root dir has been set as '
          f'{self.configuration["NODE_FEDBIOMED_ROOT"]} \n')
    print(f'INFO: Fed-BioMed  Node config file is '
          f'{self.configuration["NODE_CONFIG_FILE"]} \n')
    print(f'INFO: Services are going to be configured for the node '
          f'{self.configuration["ID"]} \n')
    return self.configuration