<commit_before>version: '3'
services:
  mysql:
    image: mariadb:10.1
    environment:
      - MYSQL_ROOT_PASSWORD=$<PASSWORD>
  trillian-db-seed:
    build:
      context: ../..
      dockerfile: ./examples/deployment/docker/db_client/Dockerfile
    environment:
      - DB_USER=root
      - DB_PASSWORD=$DB_PASSWORD
    command: ./wait-for-it.sh -t 0 mysql:3306 -- ./scripts/resetdb.sh --verbose --force -h mysql
  trillian-server:
    build:
      context: ../..
      dockerfile: examples/deployment/docker/log_server/Dockerfile
    restart: always # retry while mysql is starting up
    ports:
      - "8090:8090"
      - "8091:8091"
    depends_on:
      - mysql
    environment:
      - DB_USER=root
      - DB_PASSWORD=$<PASSWORD>
      - DB_HOST=mysql:3306<commit_msg>Add log signer to docker-compose deployment (#1039)<commit_after>version: '3'
services:
  mysql:
    image: mariadb:10.1
    environment:
      - MYSQL_ROOT_PASSWORD=$<PASSWORD>
  trillian-db-seed:
    build:
      context: ../..
      dockerfile: ./examples/deployment/docker/db_client/Dockerfile
    environment:
      - DB_USER=root
      - DB_PASSWORD=$DB_PASSWORD
    command: ./wait-for-it.sh -t 0 mysql:3306 -- ./scripts/resetdb.sh --verbose --force -h mysql
  trillian-log-server:
    build:
      context: ../..
      dockerfile: examples/deployment/docker/log_server/Dockerfile
    restart: always # retry while mysql is starting up
    ports:
      - "8090:8090"
      - "8091:8091"
    depends_on:
      - mysql
    environment:
      - DB_USER=root
      - DB_PASSWORD=$<PASSWORD>
  trillian-log-signer:
    build:
      context: ../..
      dockerfile: examples/deployment/docker/log_signer/Dockerfile
    restart: always # retry while mysql is starting up
    ports:
      - "8092:8091"
    depends_on:
      - mysql
    environment:
      - DB_USER=root
      - DB_PASSWORD=$DB_PASSWORD
{'fraction_non_alphanumeric': 0.1202127659574468, 'fraction_numerical': 0.035106382978723406, 'mean_word_length': 2.3174603174603177, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '2218255', 'n_tokens_mistral': 689, 'n_tokens_neox': 641, 'n_words': 120}