<commit_before>version: "3"

services:

  server:
    image: salmant/ul_monitoring_server_container_image2
    ports:
      - "8080:8080"
      - "4242:4242"
      - "4245:4245"
      - "7199:7199"
      - "7000:7000"
      - "7001:7001"
      - "9160:9160"
      - "9042:9042"
      - "8012:8012"
      - "61621:61621"
    environment:
      - MONITORING_SERVER=server

  agent:
    image: salmant/monitoring_agent
    environment:
      - MONITORING_SERVER=server
      - HOST_IP=server
    depends_on:
      - server<commit_msg>Update docker-compose.yml<commit_after>version: "3"

services:

  server:
    image: salmant/ul_monitoring_server_container_image2
    ports:
      - "8080:8080"
      - "4242:4242"
      - "4245:4245"
      - "7199:7199"
      - "7000:7000"
      - "7001:7001"
      - "9160:9160"
      - "9042:9042"
      - "8012:8012"
      - "61621:61621"
    environment:
      - MONITORING_SERVER=server
    deploy:
      placement:
        constraints: [node.role == manager]      

  agent:
    image: salmant/monitoring_agent
    environment:
      - MONITORING_SERVER=server
      - HOST_IP=server
    depends_on:
      - server
    deploy:
      placement:
        constraints: [node.role == worker]        
{'fraction_non_alphanumeric': 0.11841038118410381, 'fraction_numerical': 0.1362530413625304, 'mean_word_length': 2.0097560975609756, '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': '5041055', 'n_tokens_mistral': 555, 'n_tokens_neox': 460, 'n_words': 64}