<commit_before>mongo-staging:
  image: mongo:3
  command: --auth
  volumes:
    - /var/data/mongodb:/data/db
  ports:
    - "27017:27017"
  tags:
    - staging
  autorestart: always
muzhack-staging:
  image: quay.io/aknuds1/muzhack:latest
  links:
    - mongo-staging:db
  environment:
    - ROOT_URL=https://staging.muzhack.com
    - MONGO_URL
    - METEOR_SETTINGS
  tags:
    - staging
  autorestart: always
nginx-staging:
  image: aknudsen/meteor-frontend-server
  command: /start.sh
  tags:
    - staging
  autorestart: always
  ports:
    - "443:443"
    - "80:80"
  volumes:
    - /etc/nginx/ssl/bundle.crt:/bundle.crt
    - /etc/nginx/ssl/private.key:/private.key
  links:
    - muzhack-staging:backend
logspout-staging:
  image: gliderlabs/logspout
  command: syslog://logs3.papertrailapp.com:19740
  tags:
    - staging
  autorestart: always
  volumes:
    - /var/run/docker.sock:/tmp/docker.sock
  deployment_strategy: every_node
<commit_msg>Prepare Tutum staging stack to use green-blue deployment<commit_after>mongo:
  image: mongo:3
  command: --auth
  volumes:
    - /var/data/mongodb:/data/db
  ports:
    - "27017:27017"
  tags:
    - staging
  restart: always
muzhack-green:
  image: quay.io/aknuds1/muzhack:latest
  links:
    - mongo:db
  environment:
    - ROOT_URL=https://staging.muzhack.com
    - MONGO_URL
    - METEOR_SETTINGS
  tags:
    - staging
  restart: always
  deployment_strategy: high_availability
muzhack-blue:
  image: quay.io/aknuds1/muzhack:latest
  links:
    - mongo:db
  environment:
    - ROOT_URL=https://staging.muzhack.com
    - MONGO_URL
    - METEOR_SETTINGS
  tags:
    - staging
  restart: always
  deployment_strategy: high_availability
lb:
  image: tutum/haproxy
  tags:
    - staging
  restart: always
  ports:
    - "443:443"
    - "80:80"
  volumes:
    - /etc/nginx/ssl/bundle.crt:/bundle.crt
    - /etc/nginx/ssl/private.key:/private.key
  links:
    - muzhack-green
  roles:
    - global
logspout:
  image: gliderlabs/logspout
  command: syslog://logs3.papertrailapp.com:19740
  tags:
    - staging
  restart: always
  volumes:
    - /var/run/docker.sock:/tmp/docker.sock
  deployment_strategy: every_node

{'fraction_non_alphanumeric': 0.11824480369515011, 'fraction_numerical': 0.026327944572748268, 'mean_word_length': 2.7474048442906573, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, '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': '5798937', 'n_tokens_mistral': 914, 'n_tokens_neox': 866, 'n_words': 136}