<commit_before>app:
  build: .
  command: "bundle exec rails s -e development -p 8080"
  ports:
   - "0.0.0.0:8080:8080"
  links:
    - mongo
    - redis
    - rabbit
    - mail
  volumes:
    - .:/usr/src/cloudsdale-web
  volumes_from:
    - gems
  environment:
    RAILS_ENV: development

gems:
  image: busybox:latest
  command: "tail -f /dev/null"
  volumes:
    - /usr/local/bundle

mongo:
  image: mongo:2.4.10
  command: mongod --smallfiles --verbose
  volumes:
    - ./db/data:/data
  ports:
    - "27017:27017"

redis:
  image: redis:latest
  command: redis-server<commit_msg>Pull in the push app as a fig dependency<commit_after>app:
  build: .
  command: "bundle exec rails s -e development -p 8080"
  ports:
   - "0.0.0.0:8080:8080"
  links:
    - mongo
    - redis
    - rabbit
    - mail
    - push

  volumes:
    - .:/usr/src/cloudsdale-web
  volumes_from:
    - gems
  environment:
    RAILS_ENV: development

push:
  image: zeeraw/cloudsdale-push:latest
  ports:
    - "8282:8282"
  volumes:
    - ./node_modules:/usr/src/cloudsdale-push/node_modules
  links:
    - mongo
    - redis
    - rabbit
  environment:
    AMQP_URL: amqp://admin:pass@rabbit:5672
    MONGO_URL: mongo://mongo:27017/cloudsdale
    REDIS_URL: redis://redis:6379/0

    FAYE_ENV: development
    FAYE_URL: ws://0.0.0.0:8282/push
    FAYE_TOKEN: 650659cd4801877e56a176d70dcd4851fa4c86327b3b9439fef2fbf77543b8e2

gems:
  image: busybox:latest
  command: "tail -f /dev/null"
  volumes:
    - /usr/local/bundle

mongo:
  image: mongo:2.4.10
  command: mongod --smallfiles --verbose
  volumes:
    - ./db/data:/data
  ports:
    - "27017:27017"

redis:
  image: redis:latest
  command: redis-server
{'fraction_non_alphanumeric': 0.12589073634204276, 'fraction_numerical': 0.07897862232779097, 'mean_word_length': 2.495850622406639, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 3, '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': '7667200', 'n_tokens_mistral': 771, 'n_tokens_neox': 687, 'n_words': 132}