<commit_before># Does not set up Cassandra

version: '2'
services:
  db:
    build:
      context: .
      dockerfile: docker/postgres.dockerfile
    network_mode: host
  cache:
    image: redis:3
    network_mode: host
  web:
    build: .
    command: ./docker/main-launch.sh basic
    ports:
      - "5000"
    volumes:
      - .:/usr/src/yasp
    network_mode: host
    depends_on:
      - db
      - cache
<commit_msg>Made db not required to allow hot swap - useful for testing<commit_after># Does not set up Cassandra

version: '2'
services:
  db:
    build:
      context: .
      dockerfile: docker/postgres.dockerfile
    network_mode: host
  cache:
    image: redis:3
    network_mode: host
  web:
    build: .
    command: ./docker/main-launch.sh basic
    ports:
      - "5000"
    volumes:
      - .:/usr/src/yasp
    network_mode: host
    depends_on:
#      - db
      - cache

{'fraction_non_alphanumeric': 0.10101010101010101, 'fraction_numerical': 0.013468013468013467, 'mean_word_length': 2.023728813559322, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2311918', 'n_tokens_mistral': 322, 'n_tokens_neox': 306, 'n_words': 80}