<commit_before>version: '2'
services:
  bestgems-app:
    image: bestgems-app
    ports:
      - 9292:9292
    environment:
      - RACK_ENV=production
      - BESTGEMS_DB_HOST=bestgems-db
      - BESTGEMS_DB_USER=bestgems
      - BESTGEMS_DB_PASSWORD=<PASSWORD>
      - BESTGEMS_DB_NAME=bestgems
    command: /bin/bash -c 'wait-for-it.sh bestgems-db:5432 && APP_ENV=production bundle exec rake db:migration && APP_ENV=production bundle exec rackup'
  bestgems-db:
    image: postgres:9.2-alpine
    environment:
      - POSTGRES_USER=bestgems
      - POSTGRES_PASSWORD=<PASSWORD><commit_msg>Add an environment variable to docker-compose.yml<commit_after>version: '2'
services:
  bestgems-app:
    image: bestgems-app
    ports:
      - 9292:9292
    environment:
      - RACK_ENV=production
      - BESTGEMS_DB_HOST=bestgems-db
      - BESTGEMS_DB_USER=bestgems
      - BESTGEMS_DB_PASSWORD=<PASSWORD>
      - BESTGEMS_DB_NAME=bestgems
      - BESTGEMS_LEVELDB_DIR=db/trends
    command: /bin/bash -c 'wait-for-it.sh bestgems-db:5432 && APP_ENV=production bundle exec rake db:migration && APP_ENV=production bundle exec rackup'
  bestgems-db:
    image: postgres:9.2-alpine
    environment:
      - POSTGRES_USER=bestgems
      - POSTGRES_PASSWORD=<PASSWORD>
{'fraction_non_alphanumeric': 0.0976965845909452, 'fraction_numerical': 0.023828435266084195, 'mean_word_length': 3.228187919463087, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, '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': '3362825', 'n_tokens_mistral': 504, 'n_tokens_neox': 467, 'n_words': 73}