import yaml


def get_personal_config(absolute_config_path):
    """
    absolute_config_path::str
    return = {
        'dockerfile_commands'::str Dockerfile commands to inject
        'docker_compose_commands'::{} Parsed yaml for docker-compose injection
        'run_commands'::str Commands to run the docker-compose file
    }
    """
    path = f'{absolute_config_path}/personal_dockerfile_commands.txt' 
    with open(path, 'r') as dockerfile_file:
        dockerfile_commands = dockerfile_file.read()

    path = f'{absolute_config_path}/personal_docker_compose_commands.yml'
    with open(path, 'r') as docker_compose_file:
        docker_compose_commands = yaml.safe_load(docker_compose_file)

    path = f'{absolute_config_path}/personal_run_commands.sh'
    with open(path, 'r') as run_file:
        run_commands = run_file.read()

    return {
        'dockerfile_commands': dockerfile_commands,
        'docker_compose_commands': docker_compose_commands,
        'run_commands': run_commands
    }