<commit_before>mysql:
  image: mysql:5.5
  environment:
    MYSQL_ROOT_PASSWORD: "password"
  volumes_from:
    - "data:rw"


memcached:
  image: memcached:1.4


mongo:
  image: mongo:2.4
  volumes_from:
    - "data:rw"


lms:
  build: build/edxapp
  working_dir: /edx/app/edxapp/edx-platform
  environment:
    EDXAPP_TEST_MONGO_HOST: "mongo"
  expose:
    - "8000"
  command: paver lms --settings=devstack
  # command: python manage.py lms runserver 0.0.0.0:8000 --settings=devstack

  volumes_from:
    - "syslog:rw"

  volumes:
    - "../edx-platform/:/edx/app/edxapp/edx-platform-devcode"
    - "../envs-edx:/edx/app/edxapp/devenvs"

    - "/edx/app/edxapp/staticfiles"
    - "/edx/app/edxapp/log"
    - "/edx/var/edxapp/data"
    - "/edx/app/edxapp/uploads"
    - "/tmp/edx-s3/grades"

  links:
   - mysql
   - mongo
   - memcached


studio:
  build: build/edxapp
  working_dir: /edx/app/edxapp/edx-platform
  environment:
    EDXAPP_TEST_MONGO_HOST: "mongo"
  expose:
    - "8001"
  command: paver studio --settings=devstack
  # command: python manage.py cms runserver 0.0.0.0:8001 --settings=devstack

  volumes_from:
    - "lms:rw"

  links:
   - mysql
   - mongo
   - memcached


data:
  image: busybox
  volumes:
    # MySQL
    - /var/lib/mysql
    - /tmp/cache

    # MongoDB
    - /data/db


nginx:
  build: build/nginx
  ports:
    - "80:80"
  links:
    - lms
    - studio


# Provide a syslog just to make the devstack running!
syslog:
  image: edx-devstack-syslog
  volumes:
    - "/dev/"
    - "/var/log"<commit_msg>Avoid mixing the containers with other compose instances<commit_after>mysql:
  container_name: edx_mysql
  image: mysql:5.5
  environment:
    MYSQL_ROOT_PASSWORD: "password"
  volumes_from:
    - "data:rw"


memcached:
  container_name: edx_memcached
  image: memcached:1.4


mongo:
  container_name: edx_mongo
  image: mongo:2.4
  volumes_from:
    - "data:rw"


lms:
  container_name: edx_lms
  build: build/edxapp
  working_dir: /edx/app/edxapp/edx-platform
  environment:
    EDXAPP_TEST_MONGO_HOST: "mongo"
  expose:
    - "8000"
  command: paver lms --settings=devstack
  # command: python manage.py lms runserver 0.0.0.0:8000 --settings=devstack

  volumes_from:
    - "syslog:rw"

  volumes:
    - "../edx-platform/:/edx/app/edxapp/edx-platform-devcode"
    - "../envs-edx:/edx/app/edxapp/devenvs"

    - "/edx/app/edxapp/staticfiles"
    - "/edx/app/edxapp/log"
    - "/edx/var/edxapp/data"
    - "/edx/app/edxapp/uploads"
    - "/tmp/edx-s3/grades"

  links:
   - mysql
   - mongo
   - memcached


studio:
  container_name: edx_studio
  build: build/edxapp
  working_dir: /edx/app/edxapp/edx-platform
  environment:
    EDXAPP_TEST_MONGO_HOST: "mongo"
  expose:
    - "8001"
  command: paver studio --settings=devstack
  # command: python manage.py cms runserver 0.0.0.0:8001 --settings=devstack

  volumes_from:
    - "lms:rw"

  links:
   - mysql
   - mongo
   - memcached


data:
  container_name: edx_data
  image: busybox
  volumes:
    # MySQL
    - /var/lib/mysql
    - /tmp/cache

    # MongoDB
    - /data/db


nginx:
  container_name: edx_nginx
  build: build/nginx
  ports:
    - "80:80"
  links:
    - lms
    - studio


# Provide a syslog just to make the devstack running!
syslog:
  container_name: edx_syslog
  image: edx-devstack-syslog
  volumes:
    - "/dev/"
    - "/var/log"
{'fraction_non_alphanumeric': 0.1311377245508982, 'fraction_numerical': 0.020958083832335328, 'mean_word_length': 2.5168421052631578, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, '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': '4480961', 'n_tokens_mistral': 1430, 'n_tokens_neox': 1382, 'n_words': 242}