<commit_before>version: '3.8'

services:
  app:
    build:
      context: .
      dockerfile: docker-app/Dockerfile
    tty: true
    volumes:
    - .:/app
    - /sys/fs/cgroup:/sys/fs/cgroup:ro
    tmpfs:
      - /tmp
      - /run
    stop_signal: SIGRTMIN+3
  admin:
    build: docker-admin
    ports:
      - '8080:80'
    volumes:
#      - ./config.local.php:/var/www/html/config.local.php
      - ./docker-admin/config.local.php:/var/www/html/config.local.php
#    environment:
#      - POSTFIXADMIN_DB_TYPE=mysqli
#      - POSTFIXADMIN_DB_HOST=db
#      - POSTFIXADMIN_DB_USER=postfix
#      - POSTFIXADMIN_DB_PASSWORD=password
#      - POSTFIXADMIN_DB_NAME=postfix
  db:
    image: mariadb:10
    volumes:
    - ./docker-db/postfix.v1841.sql:/docker-entrypoint-initdb.d/postfix.sql
#    - ./docker-db/postfix.v740.sql:/docker-entrypoint-initdb.d/postfix.sql
#    - ./docker-db/postfix.v352.sql:/docker-entrypoint-initdb.d/postfix.sql
    environment:
      - MYSQL_RANDOM_ROOT_PASSWORD=yes
      - MYSQL_USER=postfix
      - MYSQL_PASSWORD=password
      - MYSQL_DATABASE=postfix
<commit_msg>Added depends_on on<commit_after>version: '3.8'

services:
  app:
    build:
      context: .
      dockerfile: docker-app/Dockerfile
    tty: true
    volumes:
    - .:/app
    - /sys/fs/cgroup:/sys/fs/cgroup:ro
    tmpfs:
      - /tmp
      - /run
    stop_signal: SIGRTMIN+3
    depends_on:
      - db
  admin:
    build: docker-admin
    ports:
      - '8080:80'
    volumes:
      - ./docker-admin/config.local.php:/var/www/html/config.local.php
    depends_on:
      - db
#    environment:
#      - POSTFIXADMIN_DB_TYPE=mysqli
#      - POSTFIXADMIN_DB_HOST=db
#      - POSTFIXADMIN_DB_USER=postfix
#      - POSTFIXADMIN_DB_PASSWORD=password
#      - POSTFIXADMIN_DB_NAME=postfix
  db:
    image: mariadb:10
    volumes:
    - ./docker-db/postfix.v1841.sql:/docker-entrypoint-initdb.d/postfix.sql
#    - ./docker-db/postfix.v740.sql:/docker-entrypoint-initdb.d/postfix.sql
#    - ./docker-db/postfix.v352.sql:/docker-entrypoint-initdb.d/postfix.sql
    environment:
      - MYSQL_RANDOM_ROOT_PASSWORD=yes
      - MYSQL_USER=postfix
      - MYSQL_PASSWORD=password
      - MYSQL_DATABASE=postfix

{'fraction_non_alphanumeric': 0.1296043656207367, 'fraction_numerical': 0.019099590723055934, 'mean_word_length': 2.3033033033033035, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 3, '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': '611610', 'n_tokens_mistral': 910, 'n_tokens_neox': 862, 'n_words': 93}