<commit_before># Base docker composition. For development, this composition is augmented in docker-compose.override.yml.

version: '3'
services:
  www:
    image: greyarch/caddy
    ports:
      - "80:80"
    environment:
      CONFIG: |
        :80 {
          tls off
          errors stdout
          gzip
          header / {
            -Server
            Strict-Transport-Security "max-age=31536000;"
            X-XSS-Protection "1; mode=block"
            X-Content-Type-Options "nosniff"
            X-Frame-Options "DENY"
            Pragma "no-cache"
            Cache-Control "no-store"
          }
          proxy /api http://server:${SERVER_PORT:-5001}
          proxy / http://frontend:${FRONTEND_PORT:-5000}
        }
  frontend:
    image: ictu/quality-time_frontend:v0.15.0
    env_file:
      - ${ENV:-dev}.env
    depends_on:
    - server
  collector:
    image: ictu/quality-time_collector:v0.15.0
    env_file:
    - ${ENV:-dev}.env
    depends_on:
    - server
  server:
    image: ictu/quality-time_server:v0.15.0
    env_file:
      - ${ENV:-dev}.env
    depends_on:
    - database
  database:
    image: mongo
    restart: always
    env_file:
    - ${ENV:-dev}.env
    volumes:
    - "dbdata:/data/db"
volumes:
  dbdata:
<commit_msg>Use ICTU variant of Caddy. (#757)<commit_after># Base docker composition. For development, this composition is augmented in docker-compose.override.yml.

version: '3'
services:
  www:
    image: ictu/caddy:1.0.3-no-stats
    ports:
      - "80:80"
    environment:
      CONFIG: |
        :80 {
          tls off
          errors stdout
          gzip
          header / {
            -Server
            Strict-Transport-Security "max-age=31536000;"
            X-XSS-Protection "1; mode=block"
            X-Content-Type-Options "nosniff"
            X-Frame-Options "DENY"
            Pragma "no-cache"
            Cache-Control "no-store"
          }
          proxy /api http://server:${SERVER_PORT:-5001}
          proxy / http://frontend:${FRONTEND_PORT:-5000}
        }
  frontend:
    image: ictu/quality-time_frontend:v0.15.0
    env_file:
      - ${ENV:-dev}.env
    depends_on:
    - server
  collector:
    image: ictu/quality-time_collector:v0.15.0
    env_file:
    - ${ENV:-dev}.env
    depends_on:
    - server
  server:
    image: ictu/quality-time_server:v0.15.0
    env_file:
      - ${ENV:-dev}.env
    depends_on:
    - database
  database:
    image: mongo
    restart: always
    env_file:
    - ${ENV:-dev}.env
    volumes:
    - "dbdata:/data/db"
volumes:
  dbdata:

{'fraction_non_alphanumeric': 0.12260086173129651, 'fraction_numerical': 0.03055229142185664, 'mean_word_length': 1.7973713033953997, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '5868044', 'n_tokens_mistral': 922, 'n_tokens_neox': 881, 'n_words': 165}