<commit_before># data only container pattern
datatest:
  image: muccg/base:debian8
  volumes:
    - .:/app
    - data/tests:/data

dbtest:
  image: postgres:9.3
  environment:
    - POSTGRES_USER=rdrfapp
    - POSTGRES_PASSWORD=<PASSWORD>
  ports:
    - ":5432"

cachetest:
  image: memcached:1.4

mongotest:
  image: mongo:2.6
  command: mongod --smallfiles

webtest:
  build: .
  command: runserver
  environment:
    - DJANGO_SETTINGS_MODULE=rdrf.settings
    - DBUSER=rdrfapp
    - WAIT_FOR_DB=1
    - WAIT_FOR_CACHE=1
    - WAIT_FOR_MONGO=1
  volumes_from:
    - datatest      
  ports:
    - ":8000"
  links:
    - dbtest:db
    - cachetest:cache
    - mongotest:mongo

# runs the tests against the stack above
testhost:
  image: rdrf_web
  command: runtests
  environment:
    - DJANGO_SETTINGS_MODULE=rdrf.settings
    - DBUSER=rdrfapp
    - WAIT_FOR_DB=1
    - WAIT_FOR_WEB=1<commit_msg>fig: remove dependency for ci<commit_after># data only container pattern
datatest:
  image: muccg/base:debian8
  volumes:
    - .:/app
    - data/tests:/data

dbtest:
  image: postgres:9.3
  environment:
    - POSTGRES_USER=rdrfapp
    - POSTGRES_PASSWORD=<PASSWORD>
  ports:
    - ":5432"

cachetest:
  image: memcached:1.4

mongotest:
  image: mongo:2.6
  command: mongod --smallfiles

webtest:
  build: .
  command: runserver
  environment:
    - DJANGO_SETTINGS_MODULE=rdrf.settings
    - DBUSER=rdrfapp
    - WAIT_FOR_DB=1
    - WAIT_FOR_CACHE=1
    - WAIT_FOR_MONGO=1
  volumes_from:
    - datatest      
  ports:
    - ":8000"
  links:
    - dbtest:db
    - cachetest:cache
    - mongotest:mongo

# runs the tests against the stack above
testhost:
  image: rdrf_webtest
  command: runtests
  environment:
    - DJANGO_SETTINGS_MODULE=rdrf.settings
    - DBUSER=rdrfapp
    - WAIT_FOR_DB=1
    - WAIT_FOR_WEB=1
{'fraction_non_alphanumeric': 0.09768211920529801, 'fraction_numerical': 0.02207505518763797, 'mean_word_length': 2.80083857442348, 'pattern_counts': {'":': 4, '<': 5, '<?xml version=': 0, '>': 5, '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': '3248771', 'n_tokens_mistral': 749, 'n_tokens_neox': 732, 'n_words': 129}