<commit_before>version: '3'

services:
  magento:
    image: alexcheng/magento:latest
    container_name: magento
    ports:
      - ${MAGENTO_EXTERNAL_PORT:-80}:80
    links:
      - magento_db
    volumes:
      - ./magento-gateway-ebanx/app/code/community/Ebanx/:/var/www/htdocs/app/code/community/Ebanx/
      - ./magento-gateway-ebanx/app/etc/modules/Ebanx_Gateway.xml:/var/www/htdocs/app/etc/modules/Ebanx_Gateway.xml
      - ./magento-gateway-ebanx/app/design/frontend/base/default/layout/:/var/www/htdocs/app/design/frontend/base/default/layout/
      - ./magento-gateway-ebanx/app/design/frontend/base/default/template/ebanx/:/var/www/htdocs/app/design/frontend/base/default/template/ebanx/
      - ./magento-gateway-ebanx/skin/adminhtml/default/default/ebanx/:/var/www/htdocs/skin/adminhtml/default/default/ebanx/
      - ./magento-gateway-ebanx/skin/frontend/base/default/css/ebanx/:/var/www/htdocs/skin/frontend/base/default/css/ebanx/
      - ./magento-gateway-ebanx/skin/frontend/base/default/js/ebanx/:/var/www/htdocs/skin/frontend/base/default/js/ebanx/
      - ./magento-gateway-ebanx/lib/Ebanx/:/var/www/htdocs/lib/Ebanx/
      - /var/www/htdocs
    environment:
      MYSQL_HOST: magento_db
      MYSQL_DATABASE: magento
      MYSQL_USER: root
      MYSQL_PASSWORD: <PASSWORD>
      MAGENTO_LOCALE: en_US
      MAGENTO_TIMEZONE: America/Sao_Paulo
      MAGENTO_DEFAULT_CURRENCY: USD
      MAGENTO_ADMIN_USERNAME: ebanx
      MAGENTO_ADMIN_PASSWORD: <PASSWORD>
      MAGENTO_ADMIN_FIRSTNAME: EBANX
      MAGENTO_ADMIN_LASTNAME: Store
      MAGENTO_ADMIN_EMAIL: <EMAIL>
      MAGENTO_URL: http://localhost:${MAGENTO_EXTERNAL_PORT:-80}

  magento_db:
    image: mysql:5
    container_name: magento_db
    ports:
      - ${MYSQL_EXTERNAL_PORT:-3306}:3306
    environment:<commit_msg>Sharing js folder to magento container<commit_after>version: '3'

services:
  magento:
    image: alexcheng/magento:latest
    container_name: magento
    ports:
      - ${MAGENTO_EXTERNAL_PORT:-80}:80
    links:
      - magento_db
    volumes:
      - ./magento-gateway-ebanx/app/code/community/Ebanx/:/var/www/htdocs/app/code/community/Ebanx/
      - ./magento-gateway-ebanx/app/etc/modules/Ebanx_Gateway.xml:/var/www/htdocs/app/etc/modules/Ebanx_Gateway.xml
      - ./magento-gateway-ebanx/app/design/frontend/base/default/layout/:/var/www/htdocs/app/design/frontend/base/default/layout/
      - ./magento-gateway-ebanx/app/design/frontend/base/default/template/ebanx/:/var/www/htdocs/app/design/frontend/base/default/template/ebanx/
      - ./magento-gateway-ebanx/skin/adminhtml/default/default/ebanx/:/var/www/htdocs/skin/adminhtml/default/default/ebanx/
      - ./magento-gateway-ebanx/skin/frontend/base/default/css/ebanx/:/var/www/htdocs/skin/frontend/base/default/css/ebanx/
      - ./magento-gateway-ebanx/skin/frontend/base/default/js/ebanx/:/var/www/htdocs/skin/frontend/base/default/js/ebanx/
      - ./magento-gateway-ebanx/lib/Ebanx/:/var/www/htdocs/lib/Ebanx/
      - ./magento-gateway-ebanx/js/ebanx/:/var/www/htdocs/js/ebanx/
      - /var/www/htdocs
    environment:
      MYSQL_HOST: magento_db
      MYSQL_DATABASE: magento
      MYSQL_USER: root
      MYSQL_PASSWORD: <PASSWORD>
      MAGENTO_LOCALE: en_US
      MAGENTO_TIMEZONE: America/Sao_Paulo
      MAGENTO_DEFAULT_CURRENCY: USD
      MAGENTO_ADMIN_USERNAME: ebanx
      MAGENTO_ADMIN_PASSWORD: <PASSWORD>
      MAGENTO_ADMIN_FIRSTNAME: EBANX
      MAGENTO_ADMIN_LASTNAME: Store
      MAGENTO_ADMIN_EMAIL: <EMAIL>
      MAGENTO_URL: http://localhost:${MAGENTO_EXTERNAL_PORT:-80}

  magento_db:
    image: mysql:5
    container_name: magento_db
    ports:
      - ${MYSQL_EXTERNAL_PORT:-3306}:3306
    environment:
{'fraction_non_alphanumeric': 0.13309840065058282, 'fraction_numerical': 0.00867443751694226, 'mean_word_length': 3.081858407079646, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 19, 'xml': 4}, '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': '3664351', 'n_tokens_mistral': 1496, 'n_tokens_neox': 1496, 'n_words': 119}