/
Art86
/
DefectDojo-DevSecOps
Обзор
Документация
Войти
/
Art86
/
DefectDojo-DevSecOps
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
docker-compose.override.dev.yml
94 строки
3 KB
valentijnscholten
feat: run single integration tests from dev mode (#14486)
12 мар 2026, 04:21
Не верифицирован
12 мар 2026, 04:21
2051e7f
Код
Авторство
О чём код?
--- services: uwsgi: build: context: . dockerfile: Dockerfile.django-${DEFECT_DOJO_OS:-debian} target: development entrypoint: ['/wait-for-it.sh', '${DD_DATABASE_HOST:-postgres}:${DD_DATABASE_PORT:-5432}', '-t', '30', '--', '/entrypoint-uwsgi-dev.sh'] volumes: - '.:/app:z' environment: PYTHONWARNINGS: error # We are strict about Warnings during development DD_DEBUG: 'True' DD_DJANGO_DEBUG_TOOLBAR_ENABLED: "${DD_DJANGO_DEBUG_TOOLBAR_ENABLED:-False}" DD_ADMIN_USER: "${DD_ADMIN_USER:-admin}" DD_ADMIN_PASSWORD: "${DD_ADMIN_PASSWORD:-admin}" DD_EMAIL_URL: "smtp://mailhog:1025" celeryworker: build: context: . dockerfile: Dockerfile.django-${DEFECT_DOJO_OS:-debian} target: development entrypoint: ['/wait-for-it.sh', '${DD_DATABASE_HOST:-postgres}:${DD_DATABASE_PORT:-5432}', '-t', '30', '--', '/entrypoint-celery-worker-dev.sh'] volumes: - '.:/app:z' environment: PYTHONWARNINGS: error # We are strict about Warnings during development DD_DEBUG: 'True' DD_EMAIL_URL: "smtp://mailhog:1025" celerybeat: build: context: . dockerfile: Dockerfile.django-${DEFECT_DOJO_OS:-debian} target: development volumes: - '.:/app:z' environment: PYTHONWARNINGS: error # We are strict about Warnings during development DD_DEBUG: 'True' initializer: build: context: . dockerfile: Dockerfile.django-${DEFECT_DOJO_OS:-debian} target: development volumes: - '.:/app:z' environment: PYTHONWARNINGS: error # We are strict about Warnings during development DD_DEBUG: 'True' DD_ADMIN_USER: "${DD_ADMIN_USER:-admin}" DD_ADMIN_PASSWORD: "${DD_ADMIN_PASSWORD:-admin}" nginx: volumes: - './dojo/static/dojo:/usr/share/nginx/html/static/dojo' postgres: ports: - target: ${DD_DATABASE_PORT:-5432} published: ${DD_DATABASE_PORT:-5432} protocol: tcp mode: host mailhog: image: mailhog/mailhog:v1.0.1@sha256:8d76a3d4ffa32a3661311944007a415332c4bb855657f4f6c57996405c009bea entrypoint: [ "/bin/sh", "-c", "MailHog &>/dev/null" ] # inspired by https://github.com/mailhog/MailHog/issues/56#issuecomment-291968642 ports: - target: 1025 published: 1025 protocol: tcp mode: host - target: 8025 published: 8025 protocol: tcp mode: host "webhook.endpoint": image: mccutchen/go-httpbin:2.20.0@sha256:b1620821b6ff191d911629f87a720b88df5397c2554045f1cfb1ffde17c9b898 integration-tests: platform: "linux/amd64" profiles: - integration build: context: ./ dockerfile: ${INTEGRATION_TESTS_DOCKERFILE:-Dockerfile.integration-tests-debian} image: "defectdojo/defectdojo-integration-tests:${INTEGRATION_TESTS_VERSION:-latest}" depends_on: - nginx - uwsgi entrypoint: ['/wait-for-it.sh', '${DD_DATABASE_HOST:-postgres}:${DD_DATABASE_PORT:-5432}', '-t', '30', '--', '/app/docker/entrypoint-integration-tests.sh'] volumes: - '.:/app:z' environment: DD_BASE_URL: 'http://nginx:8080/' DD_ADMIN_USER: "${DD_ADMIN_USER:-admin}" DD_ADMIN_PASSWORD: "${DD_ADMIN_PASSWORD:-admin}" DD_INTEGRATION_TEST_FILENAME: "${DD_INTEGRATION_TEST_FILENAME:-}"