<commit_before>rails:
  build: .
  restart: always
  env_file: ../../.env.production
  volumes:
    - /home/app/rails/rnplay:/app
    - /home/app/repos:/var/repos
  links:
    - postgres
    - cache
    - redis
  environment:
    RAILS_ENV: production
    PASSENGER_RAILS_ENV: production
    VIRTUAL_HOST: rnplay.org,www.rnplay.org

postgres:
  restart: always
  env_file: ../../.env.production
  image: postgres

packager080rc2:
  restart: always
  image: "packager:0.8.0-rc.2"
  command: "node node_modules/react-native/packager/packager.js --port 8081"
  env_file: ../../.env.production
  environment:
    VIRTUAL_HOST: packager080rc2.rnplay.org
  volumes:
    - /home/app/rails/rnplay/app_js:/app/js 

packager0100rc:
  restart: always
  image: "packager:0.10.0-rc"
  env_file: ../../.env.production
  environment:
    VIRTUAL_HOST: packager0100rc.rnplay.org
  volumes:
    - /home/app/rails/rnplay/app_js:/app/js

packager0101:
  restart: always
  image: "packager:0.10.1"
  env_file: ../../.env.production
  environment:
    VIRTUAL_HOST: packager0101.rnplay.org
  volumes:
    - /home/app/rails/rnplay/app_js:/app/js

packager0110rc:
  restart: always
  image: "packager:0.11.0-rc"
  env_file: ../../.env.production
  environment:
    VIRTUAL_HOST: packager0110rc.rnplay.org
  volumes:
    - /home/app/rails/rnplay/app_js:/app/js

redis:
  restart: always
  image: redis

cache:
  restart: always
  image: memcached

worker:
  restart: always
  build: .
  command: bundle exec sidekiq -e production -c 25
  volumes:
    - /home/app/rails/rnplay:/app
  env_file: ../../.env.production
  links:
    - postgres
    - redis
    - cache

grack:
  image: grack-docker
  volumes:
    - /home/app/repos:/var/repos
    - /home/app/rails/rnplay:/rails
  links:
    - postgres
  environment:<commit_msg>add production packager or 0.11<commit_after>rails:
  build: .
  restart: always
  env_file: ../../.env.production
  volumes:
    - /home/app/rails/rnplay:/app
    - /home/app/repos:/var/repos
  links:
    - postgres
    - cache
    - redis
  environment:
    RAILS_ENV: production
    PASSENGER_RAILS_ENV: production
    VIRTUAL_HOST: rnplay.org,www.rnplay.org

postgres:
  restart: always
  env_file: ../../.env.production
  image: postgres

packager080rc2:
  restart: always
  image: "packager:0.8.0-rc.2"
  command: "node node_modules/react-native/packager/packager.js --port 8081"
  env_file: ../../.env.production
  environment:
    VIRTUAL_HOST: packager080rc2.rnplay.org
  volumes:
    - /home/app/rails/rnplay/app_js:/app/js 

packager0100rc:
  restart: always
  image: "packager:0.10.0-rc"
  env_file: ../../.env.production
  environment:
    VIRTUAL_HOST: packager0100rc.rnplay.org
  volumes:
    - /home/app/rails/rnplay/app_js:/app/js

packager0101:
  restart: always
  image: "packager:0.10.1"
  env_file: ../../.env.production
  environment:
    VIRTUAL_HOST: packager0101.rnplay.org
  volumes:
    - /home/app/rails/rnplay/app_js:/app/js

packager0110rc:
  restart: always
  image: "packager:0.11.0-rc"
  env_file: ../../.env.production
  environment:
    VIRTUAL_HOST: packager0110rc.rnplay.org
  volumes:
    - /home/app/rails/rnplay/app_js:/app/js

packager0110:
  restart: always
  image: "packager:0.11.0"
  env_file: ../../.env.production
  environment:
    VIRTUAL_HOST: packager0110.rnplay.org
  volumes:
    - /home/app/rails/rnplay/app_js:/app/js

redis:
  restart: always
  image: redis

cache:
  restart: always
  image: memcached

worker:
  restart: always
  build: .
  command: bundle exec sidekiq -e production -c 25
  volumes:
    - /home/app/rails/rnplay:/app
  env_file: ../../.env.production
  links:
    - postgres
    - redis
    - cache

grack:
  image: grack-docker
  volumes:
    - /home/app/repos:/var/repos
    - /home/app/rails/rnplay:/rails
  links:
    - postgres
  environment:
{'fraction_non_alphanumeric': 0.13814756671899528, 'fraction_numerical': 0.03218210361067504, 'mean_word_length': 2.711650485436893, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '2733535', 'n_tokens_mistral': 1593, 'n_tokens_neox': 1485, 'n_words': 253}