<commit_before>---
version: '3.7'
services:
  nginx:
    image: defectdojo/defectdojo-nginx:latest
    depends_on:
      - uwsgi
    ports:
      - target: 8080
        published: ${DD_PORT:-8080}
        protocol: tcp
        mode: host
  uwsgi:
    image: defectdojo/defectdojo-django:latest
    depends_on:
      - mysql
    environment:
      DD_ALLOWED_HOSTS: ${DD_ALLOWED_HOSTS:-localhost}
      DD_CELERY_BROKER_USER: ${DD_CELERY_BROKER_USER:-guest}
      DD_CELERY_BROKER_PASSWORD: ${DD_CELERY_BROKER_USER:-guest}
  celerybeat:
    image: defectdojo/defectdojo-django:latest
    depends_on:
      - mysql
      - rabbitmq
    entrypoint: ['/entrypoint-celery-beat.sh']
    environment:
      DD_CELERY_BROKER_USER: ${DD_CELERY_BROKER_USER:-guest}
      DD_CELERY_BROKER_PASSWORD: ${DD_CELERY_BROKER_USER:-guest}
      DD_DATABASE_NAME: ${DD_DATABASE_NAME:-defectdojo}
      DD_DATABASE_USER: ${DD_DATABASE_USER:-defectdojo}
      DD_DATABASE_PASSWORD: ${DD_DATABASE_PASSWORD:-def<PASSWORD>}
  celeryworker:
    image: defectdojo/defectdojo-django:latest
    depends_on:
      - mysql
      - rabbitmq
    entrypoint: ['/entrypoint-celery-worker.sh']
    environment:
      DD_CELERY_BROKER_USER: ${DD_CELERY_BROKER_USER:-guest}
      DD_CELERY_BROKER_PASSWORD: ${DD_CELERY_BROKER_USER:-guest}
  initializer:
    image: defectdojo/defectdojo-django:latest
    depends_on:
      - mysql
    entrypoint: ['/entrypoint-initializer.sh']
    environment:
      DD_ADMIN_USER: ${DD_ADMIN_USER:-guest}
      DD_ADMIN_MAIL: ${DD_ADMIN_USER:-<EMAIL>}
      DD_ADMIN_FIRST_NAME: ${DD_ADMIN_FIRST_NAME:-Admin}
      DD_ADMIN_LAST_NAME: ${DD_ADMIN_LAST_NAME:-Admin}
  mysql:
    image: mysql:5.7
    environment:
      MYSQL_RANDOM_ROOT_PASSWORD: 'yes'
      MYSQL_USER: ${DD_DATABASE_USER:-defectdojo}
      MYSQL_PASSWORD: ${DD_DATABASE_PASSWORD:-<PASSWORD>}
      MYSQL_DATABASE: ${DD_DATABASE_NAME:-defectdojo}
  rabbitmq:<commit_msg>default admin user/pass in Docker Compose<commit_after>---
version: '3.7'
services:
  nginx:
    image: defectdojo/defectdojo-nginx:latest
    depends_on:
      - uwsgi
    ports:
      - target: 8080
        published: ${DD_PORT:-8080}
        protocol: tcp
        mode: host
  uwsgi:
    image: defectdojo/defectdojo-django:latest
    depends_on:
      - mysql
    environment:
      DD_ALLOWED_HOSTS: ${DD_ALLOWED_HOSTS:-localhost}
      DD_CELERY_BROKER_USER: ${DD_CELERY_BROKER_USER:-guest}
      DD_CELERY_BROKER_PASSWORD: ${DD_CELERY_BROKER_USER:-guest}
  celerybeat:
    image: defectdojo/defectdojo-django:latest
    depends_on:
      - mysql
      - rabbitmq
    entrypoint: ['/entrypoint-celery-beat.sh']
    environment:
      DD_CELERY_BROKER_USER: ${DD_CELERY_BROKER_USER:-guest}
      DD_CELERY_BROKER_PASSWORD: ${DD_CELERY_BROKER_USER:-guest}
      DD_DATABASE_NAME: ${DD_DATABASE_NAME:-defectdojo}
      DD_DATABASE_USER: ${DD_DATABASE_USER:-defectdojo}
      DD_DATABASE_PASSWORD: ${DD_DATABASE_PASSWORD:-defectdojo}
  celeryworker:
    image: defectdojo/defectdojo-django:latest
    depends_on:
      - mysql
      - rabbitmq
    entrypoint: ['/entrypoint-celery-worker.sh']
    environment:
      DD_CELERY_BROKER_USER: ${DD_CELERY_BROKER_USER:-guest}
      DD_CELERY_BROKER_PASSWORD: ${DD_CELERY_BROKER_USER:-guest}
  initializer:
    image: defectdojo/defectdojo-django:latest
    depends_on:
      - mysql
    entrypoint: ['/entrypoint-initializer.sh']
    environment:
      DD_ADMIN_USER: ${DD_ADMIN_USER:-admin}
      DD_ADMIN_PASSWORD: ${DD_ADMIN_PASSWORD:-<PASSWORD>}
      DD_ADMIN_MAIL: ${DD_ADMIN_USER:-<EMAIL>}
      DD_ADMIN_FIRST_NAME: ${DD_ADMIN_FIRST_NAME:-Admin}
      DD_ADMIN_LAST_NAME: ${DD_ADMIN_LAST_NAME:-Admin}
  mysql:
    image: mysql:5.7
    environment:
      MYSQL_RANDOM_ROOT_PASSWORD: 'yes'
      MYSQL_USER: ${DD_DATABASE_USER:-defectdojo}
      MYSQL_PASSWORD: ${DD_DATABASE_PASSWORD:-<PASSWORD>}
      MYSQL_DATABASE: ${DD_DATABASE_NAME:-defectdojo}
  rabbitmq:
{'fraction_non_alphanumeric': 0.10610281083818689, 'fraction_numerical': 0.00607748797163839, 'mean_word_length': 3.571759259259259, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '1632541', 'n_tokens_mistral': 1633, 'n_tokens_neox': 1576, 'n_words': 188}