<commit_before>version: '2'
services:
  app:
    build:
      context: .
      dockerfile: Dockerfile-dev
    command: script/docker-app.sh
    environment:
      # you will need more variables here to connect your lara to a portal
      DB_HOST: db
      DB_USER: admin
      DB_PASSWORD: <PASSWORD>
      DB_NAME: lara
      SECRET_TOKEN: <KEY>
    ports:
      - "3000:3000"
    depends_on:
      - db
    volumes:
      - .:/lara
      - "bundle:/bundle"
  db:
    # this mysql image is used because it works out of the box on OS X
    # the official docker mysql container has permissions issues when writing to the disk
    # this boot2docker describes the problem: https://github.com/boot2docker/boot2docker/issues/581
    image: dgraziotin/mysql
    environment:
      MYSQL_ADMIN_PASS: <PASSWORD>
volumes:
  bundle:<commit_msg>use official mysql and lock at 5.6<commit_after>version: '2'
services:
  app:
    build:
      context: .
      dockerfile: Dockerfile-dev
    command: script/docker-app.sh
    environment:
      # you will need more variables here to connect your lara to a portal
      DB_HOST: db
      DB_USER: master
      DB_PASSWORD: master
      DB_NAME: lara
      SECRET_TOKEN: <KEY>
    ports:
      - "3000:3000"
    depends_on:
      - db
    volumes:
      - .:/lara
      - "bundle:/bundle"
  db:
    image: mysql:5.6
    environment:
      MYSQL_DATABASE: lara
      MYSQL_PASSWORD: <PASSWORD>
      MYSQL_USER: master
      MYSQL_ROOT_PASSWORD: <PASSWORD>
    command: mysqld --character-set-server=utf8 --collation-server=utf8_general_ci
volumes:
  bundle:
{'fraction_non_alphanumeric': 0.0847457627118644, 'fraction_numerical': 0.018832391713747645, 'mean_word_length': 2.398720682302772, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, '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': '611604', 'n_tokens_mistral': 546, 'n_tokens_neox': 527, 'n_words': 147}