<commit_before>version: '2'
services:
  engine:
    image: "emccorp/hero-engine"
    ports:
      - "8080:8080"
    environment:
      - DATABASE_URL=titanuser:Neutrin0R0cks!@tcp(db:3306)/titandb
      - ADMIN_TOKEN=1234
    links:
      - db
  web:
    image: "emccorp/hero-web"
    ports:
      - "80:8080"
    environment:
      - DATABASE_URL=mysql://titanuser:Neutrin0R0cks!@db:3306/titandb
      - HERO_API=http://engine:8080
      - HERO_ADMIN_TOKEN=<PASSWORD>
    links:
      - db
      - engine
  db:
    image: "emccorp/hero-db"
    environment:
      - MYSQL_ROOT_PASSWORD=root<commit_msg>Fixes start up of web and engine container with wait-for-it script<commit_after>version: '2'
services:
  engine:
    image: "emccorp/hero-engine"
    ports:
      - "8080:8080"
    environment:
      - DATABASE_URL=titanuser:Neutrin0R0cks!@tcp(db:3306)/titandb
      - ADMIN_TOKEN=1234
    links:
      - db
    command: ./wait-for-it.sh -t 60 db:3306 -- app
  web:
    image: "emccorp/hero-web"
    ports:
      - "80:8080"
    environment:
      - DATABASE_URL=mysql://titanuser:Neutrin0R0cks!@db:3306/titandb
      - HERO_API=http://engine:8080
      - HERO_ADMIN_TOKEN=<PASSWORD>
    links:
      - db
      - engine
    command: ./wait-for-it.sh -t 60 db:3306 -- gunicorn hero.wsgi -b 0.0.0.0:8080 --log-file -
  db:
    image: "emccorp/hero-db"
    environment:
      - MYSQL_ROOT_PASSWORD=root
{'fraction_non_alphanumeric': 0.13133476088508209, 'fraction_numerical': 0.06423982869379015, 'mean_word_length': 2.378313253012048, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '4181765', 'n_tokens_mistral': 611, 'n_tokens_neox': 556, 'n_words': 85}