<commit_before>version: '2'

services:
  web:
    build: .
    command: puma -b tcp://0.0.0.0:3000 -w 3
    environment:
      - PORTUS_MACHINE_FQDN_VALUE=${EXTERNAL_IP}
      - PORTUS_DB_HOST=db
      - PORTUS_DB_PASSWORD=<PASSWORD>
    volumes:
      - .:/portus
    ports:
      - 3000:3000
    links:
      - db
  
  crono:
    image: portus_web
    entrypoint: bin/crono
    environment:
      - PORTUS_MACHINE_FQDN_VALUE=${EXTERNAL_IP}
      - PORTUS_DB_HOST=db
      - PORTUS_DB_PASSWORD=<PASSWORD>
    volumes:
      - .:/portus
    links:
      - db
  
  db:
    image: library/mariadb:10.0.23
    environment:
      MYSQL_ROOT_PASSWORD: <PASSWORD>
  
  registry:
    image: library/registry:2.3.1<commit_msg>docker: fixed compose dev environment<commit_after>version: '2'

services:
  web:
    build: .
    command: pumactl -F /portus/config/puma.rb start
    environment:
      - PORTUS_MACHINE_FQDN_VALUE=${EXTERNAL_IP}
      - PORTUS_DB_HOST=db
      - PORTUS_DB_PASSWORD=<PASSWORD>
      - PORTUS_PUMA_HOST=0.0.0.0:3000
      - PORTUS_PUMA_WORKERS=2
      - PORTUS_PUMA_MAX_THREADS=4
    volumes:
      - .:/portus
    ports:
      - 3000:3000
    links:
      - db

  crono:
    image: portus_web
    entrypoint: bin/crono
    environment:
      - PORTUS_MACHINE_FQDN_VALUE=${EXTERNAL_IP}
      - PORTUS_DB_HOST=db
      - PORTUS_DB_PASSWORD=<PASSWORD>
    volumes:
      - .:/portus
    links:
      - db

  db:
    image: library/mariadb:10.0.23
    environment:
      MYSQL_ROOT_PASSWORD: <PASSWORD>

  registry:
    image: library/registry:2.3.1
{'fraction_non_alphanumeric': 0.10805626598465473, 'fraction_numerical': 0.03388746803069054, 'mean_word_length': 2.220164609053498, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '7013480', 'n_tokens_mistral': 645, 'n_tokens_neox': 622, 'n_words': 91}