<commit_before>---
version: '3.4'
services:
  redis:
    image: "redis:alpine"

  solr:
    image: "solr:8.11.1"
    ports:
      - "127.0.0.1:8983:8983"
    volumes:
      - type: volume
        source: solr-data
        target: /var/solr
      - type: bind
        source: ../../solr/development/conf/
        target: /solrconfig/
        read_only: true
#    command: ["bash -c \"solr-precreate development /solrconfig ; solr-precreate test /solrconfig \""]
    entrypoint:
    - bash
    - "-c"
    - "precreate-core development /solrconfig; precreate-core test /solrconfig; exec solr -f"

  db:
    image: postgres:13
    environment:
      - POSTGRES_USER=mampf
      - POSTGRES_HOST_AUTH_METHOD=trust
    volumes:
      - type: volume
        source: db-data
        target: /var/lib/postgresql/data

  mailcatcher:
    restart: on-failure:10
    image: dockage/mailcatcher:latest
    ports:
      - "127.0.0.1:1080:1080"

  imap:
    image: antespi/docker-imap-devel:latest
    ports:
      - "1025:25"
      - "10143:143"
      - "10993:993"
    environment:
      - MAILNAME=localhost
      - MAIL_ADDRESS=mampf@localhost
      - MAIL_PASS=<PASSWORD>

  mampf:
    build:
      context: ./../..
      dockerfile: docker/development/Dockerfile
    image: mampf:development<commit_msg>changed postgres:13 to postgres again<commit_after>---
version: '3.4'
services:
  redis:
    image: "redis:alpine"

  solr:
    image: "solr:8.11.1"
    ports:
      - "127.0.0.1:8983:8983"
    volumes:
      - type: volume
        source: solr-data
        target: /var/solr
      - type: bind
        source: ../../solr/development/conf/
        target: /solrconfig/
        read_only: true
#    command: ["bash -c \"solr-precreate development /solrconfig ; solr-precreate test /solrconfig \""]
    entrypoint:
    - bash
    - "-c"
    - "precreate-core development /solrconfig; precreate-core test /solrconfig; exec solr -f"

  db:
    image: postgres
    environment:
      - POSTGRES_USER=mampf
      - POSTGRES_HOST_AUTH_METHOD=trust
    volumes:
      - type: volume
        source: db-data
        target: /var/lib/postgresql/data

  mailcatcher:
    restart: on-failure:10
    image: dockage/mailcatcher:latest
    ports:
      - "127.0.0.1:1080:1080"

  imap:
    image: antespi/docker-imap-devel:latest
    ports:
      - "1025:25"
      - "10143:143"
      - "10993:993"
    environment:
      - MAILNAME=localhost
      - MAIL_ADDRESS=mampf@localhost
      - MAIL_PASS=<PASSWORD>

  mampf:
    build:
      context: ./../..
      dockerfile: docker/development/Dockerfile
    image: mampf:development
{'fraction_non_alphanumeric': 0.12734944380514002, 'fraction_numerical': 0.04602991944764097, 'mean_word_length': 2.0791027154663517, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, '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': '1770664', 'n_tokens_mistral': 1029, 'n_tokens_neox': 936, 'n_words': 175}