<commit_before>version: '3'
services:
  electricflow:
    image: "electricflow/efserver"
    ports:
      - "8000:8000"
      - "8200:8200"
      - "8443:8443"
      - "443:443"
      - "80:80"
    networks:
      - internal
    container_name: electricflow
    hostname: electricflow
    tty: true
    environment:
      - COMMANDER_SERVER=electricflow
    healthcheck:
      test: ["CMD", "curl", "-f", "curl http://localhost:8000/rest/v1.0/server/info"]
      interval: 30s
      timeout: 10s
      retries: 3
    restart: always

  weblogic:
    image: electricflow/weblogic:192.168.3.11-generic
    ports:
      - "7001:7001"
      - "7808:7808"
    networks:
      - internal
    container_name: weblogic
    tty: true
    environment:
      - COMMANDER_SERVER=electricflow
      - PRODUCTION_MODE=prod
networks:
  internal:
    driver: bridge<commit_msg>Autoheal<commit_after>version: '3'
services:
  electricflow:
    image: "electricflow/efserver"
    ports:
      - "8000:8000"
      - "8200:8200"
      - "8443:8443"
      - "443:443"
      - "80:80"
    networks:
      - internal
    container_name: electricflow
    hostname: electricflow
    tty: true
    environment:
      - COMMANDER_SERVER=electricflow
    healthcheck:
      test: ["CMD", "curl", "-f", "curl http://localhost:8000/rest/v1.0/server/info"]
      interval: 30s
      timeout: 10s
      retries: 3
    restart: always

  # Needed to restart failed EF
  autoheal:
    restart: always
    image: willfarrell/autoheal
    environment:
      - AUTOHEAL_CONTAINER_LABEL=all
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock

  weblogic:
    image: electricflow/weblogic:192.168.3.11-generic
    ports:
      - "7001:7001"
      - "7808:7808"
    networks:
      - internal
    container_name: weblogic
    tty: true
    environment:
      - COMMANDER_SERVER=electricflow
      - PRODUCTION_MODE=prod
networks:
  internal:
    driver: bridge
{'fraction_non_alphanumeric': 0.11237700673226307, 'fraction_numerical': 0.0735370274469187, 'mean_word_length': 2.3195876288659796, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '7050146', 'n_tokens_mistral': 770, 'n_tokens_neox': 664, 'n_words': 125}