<commit_before>version: '3.1'
volumes:
  node_modules:
  yarn_cache:
  build:
services:
  web:
    build: ./
    command: sh -c "yarn; yarn gulp serve"
    tty: true
    ports:
      - 3000:3000
      - 3001:3001
    environment:
      DATA_DIR: /root/hac-website/Data
      DATABASE_URL: postgres://richard:test@hac-db:5432/hac
    volumes:
      - build:/root/hac-website/.build
      - node_modules:/root/hac-website/node_modules
      - yarn_cache:/yarn_cache
      - .:/root/hac-website/
    depends_on:
      - hac-db
  hac-db:
    image: postgres
    environment:
      POSTGRES_PASSWORD: <PASSWORD>
      POSTGRES_USER: richard
      POSTGRES_DB: hac
    ports:
      # Expose Database on port 5433 (since Travis ties up 5432 by default)
      - 5433:5432
<commit_msg>Add API password to docker-compose.yml<commit_after>version: '3.1'
volumes:
  node_modules:
  yarn_cache:
  build:
services:
  web:
    build: ./
    command: sh -c "yarn; yarn gulp serve"
    tty: true
    ports:
      - 3000:3000
      - 3001:3001
    environment:
      DATA_DIR: /root/hac-website/Data
      DATABASE_URL: postgres://richard:test@hac-db:5432/hac
      API_PASSWORD: <PASSWORD>
    volumes:
      - build:/root/hac-website/.build
      - node_modules:/root/hac-website/node_modules
      - yarn_cache:/yarn_cache
      - .:/root/hac-website/
    depends_on:
      - hac-db
  hac-db:
    image: postgres
    environment:
      POSTGRES_PASSWORD: <PASSWORD>
      POSTGRES_USER: richard
      POSTGRES_DB: hac
    ports:
      # Expose Database on port 5433 (since Travis ties up 5432 by default)
      - 5433:5432

{'fraction_non_alphanumeric': 0.10758706467661691, 'fraction_numerical': 0.0472636815920398, 'mean_word_length': 2.2769857433808554, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, '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': '5959369', 'n_tokens_mistral': 675, 'n_tokens_neox': 594, 'n_words': 120}