def METHOD_NAME(dockerrun, docker_proj_path, host_log, high_priority_env):
    """
    Return a docker-compose.yml representation as dict translated from the info
    provided in Dockerrun.aws.json.
    :param dockerrun: dict: dictionary representation of Dockerrun.aws.json
    :param docker_proj_path: str: path of the project directory
    :param host_log: str: path to the root host logs
    :param high_priority_env: EnvvarCollector: Contains environment variables to add and remove
    :return dict
    """
    # Service is to docker-compose.yml as container definition
    # is to Dockerrun.aws.json. We want to turn definition -> service
    services = {}
    definitions = (dockerrun.get(CONTAINER_DEF_KEY, []) +
                   dockerrun.get(LOCAL_CONTAINER_DEF_KEY, []))
    # Maps 'volume name' to local path
    # E.x.: proxy-static -> /workspace/eb-project/proxy/html
    volume_map = _get_volume_map(dockerrun.get(VOLUMES_KEY, []), docker_proj_path)
    for definition in definitions:
        _add_service(services, definition, volume_map, host_log, high_priority_env)
    return services