<commit_before>version: '3.7'
services:
  db:
    image: mariadb:10
    volumes:
      - ./compose/db/config.cnf:/etc/mysql/conf.d/config.cnf
      - ./compose/db/init.sql:/docker-entrypoint-initdb.d/init.sql
      - ./compose/db/data/db:/var/lib/mysql
    env_file:
      - ./compose/db/env
    ports:
      - 3306:3306

  adminer:
    image: adminer
    restart: always
    ports:
      - 8082:8080

  api:
    build:
      context: ./compose/api
    volumes:
      - ./packages/api:/var/www/html
      - ./compose/api/data/apache/logs/:/var/log/apache2
    ports:
      - 8081:80

  spa:
    image: node:10
    restart: always
    working_dir: /spa
    command: tail -f /dev/null # keep container running
    volumes:
      - ./packages/spa:/spa
    ports:
      - 8080:8080

  jsclient:
    image: node:10
    restart: always
    working_dir: /js-client
    command: tail -f /dev/null # keep container running
    volumes:
      - ./packages/js-client:/js-client
<commit_msg>updated dev docker-compose<commit_after>version: '3.7'
services:
  db:
    image: mariadb:10
    volumes:
      - ./compose/db/config.cnf:/etc/mysql/conf.d/config.cnf
      - ./compose/db/init.sql:/docker-entrypoint-initdb.d/init.sql
      - ./compose/db/data/db:/var/lib/mysql
    env_file:
      - ./compose/db/env
    ports:
      - 127.0.0.1:3306:3306

  adminer:
    image: adminer
    restart: always
    ports:
      - 127.0.0.1:8082:8080

  api:
    build:
      context: ./compose/api
    volumes:
      - ./packages/api:/var/www/html
      - ./compose/api/data/apache/logs/:/var/log/apache2
    ports:
      - 127.0.0.1:8081:80

  spa:
    image: node:14
    restart: always
    working_dir: /spa
    command: tail -f /dev/null # keep container running
    volumes:
      - ./packages/spa:/spa
    ports:
      - 127.0.0.1:8080:8080

  jsclient:
    image: node:14
    restart: always
    working_dir: /js-client
    command: tail -f /dev/null # keep container running
    volumes:
      - ./packages/js-client:/js-client

{'fraction_non_alphanumeric': 0.1427150671307807, 'fraction_numerical': 0.05072103431128792, 'mean_word_length': 1.899135446685879, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '5729301', 'n_tokens_mistral': 825, 'n_tokens_neox': 760, 'n_words': 130}