<commit_before>applications:
    front:
        type: apache
        links: [app]
        ports:
            8080: 80
        volumes:
            .: /var/www
        custom:
            fastCgi: app
            documentRoot: /var/www/web
            modules: [rewrite]

    app:
        type: php-fpm
        links: [jackrabbit]
        apt_get: [php5-gd, php5-intl]
        before_script: rm -rf /var/www/app/cache/*
        ports:
            9000: 9000
        volumes:
            .: /var/www
        custom:
            modules: []

    jackrabbit:
        type: jackrabbit
        ports:
            8082: 8082
        volumes:
            .gaudi/jackrabbit: /opt/jackrabbit/jackrabbit
            
binaries:
    composer:
        type: composer


# gaudi run composer create-project symfony/framework-standard-edition sf/ 2.4.0
# mv sf/* .
# echo "<?php $container->setParameter('database_host', getenv('DB_PORT_3306_TCP_ADDR'));" > app/config/parameters.php
# gaudi<commit_msg>Update .gaudi.yml<commit_after>applications:
    front:
        type: apache
        links: [app]
        ports:
            8080: 80
        volumes:
            .: /var/www
        custom:
            fastCgi: app
            documentRoot: /var/www/web
            modules: [rewrite]

    app:
        type: php-fpm
        links: [jackrabbit]
        apt_get: [php5-gd, php5-intl]
        before_script: rm -rf /var/www/app/cache/*
        ports:
            9000: 9000
        volumes:
            .: /var/www
        custom:
            modules: []

    jackrabbit:
        type: jackrabbit
        ports:
            8082: 8082
        volumes:
            .gaudi/jackrabbit: /opt/jackrabbit/jackrabbit
            
binaries:
    composer:
        type: composer


# gaudi run composer create-project symfony-cmf/standard-edition sf/ ~1.1
# mv sf/* .
# echo "<?php $container->setParameter('database_host', getenv('DB_PORT_3306_TCP_ADDR'));" > app/config/parameters.php
# gaudi
{'fraction_non_alphanumeric': 0.10766886744540376, 'fraction_numerical': 0.030980192991366177, 'mean_word_length': 1.5159642401021711, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7534182', 'n_tokens_mistral': 670, 'n_tokens_neox': 609, 'n_words': 130}