<commit_before>mongodb:
  image: mongo:3.2
  container_name: chat-mongodb
  expose:
    - "27017:27017"

auth:
  build: .
  command: python3 /home/chat/webserver.py
  container_name: auth-service
  volumes:
    - ./src/:/home/chat/
  links:
    - mongodb
  ports:
    - "8080:8080"
  environment:
    MONGODB_SERVER_HOST: 'chat-mongodb'
    MONGODB_SERVER_PORT : '27017'
    MONGODB_DB_NAME : 'async-chat'


websocket:
  build: .
  command: python3 /home/chat/ws_server.py
  container_name: ws-service
  volumes:
    - ./src/:/home/chat/
  links:
    - mongodb
  ports:
    - "8090:8090"
  environment:
    MONGODB_SERVER_HOST: 'chat-mongodb'<commit_msg>Fix in docker-compose<commit_after>mongodb:
  image: mongo:3.2
  container_name: chat-mongodb
  expose:
    - 27017:27017

auth:
  build: .
  command: python3 /home/chat/webserver.py
  container_name: auth-service
  volumes:
    - ./src/:/home/chat/
  links:
    - mongodb
  ports:
    - "8080:8080"
  environment:
    MONGODB_SERVER_HOST: 'chat-mongodb'
    MONGODB_SERVER_PORT : '27017'
    MONGODB_DB_NAME : 'async-chat'


websocket:
  build: .
  command: python3 /home/chat/ws_server.py
  container_name: ws-service
  volumes:
    - ./src/:/home/chat/
  links:
    - mongodb
  ports:
    - "8090:8090"
  environment:
    MONGODB_SERVER_HOST: 'chat-mongodb'
{'fraction_non_alphanumeric': 0.12557077625570776, 'fraction_numerical': 0.0532724505327245, 'mean_word_length': 2.822674418604651, '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': '4581125', 'n_tokens_mistral': 582, 'n_tokens_neox': 529, 'n_words': 87}