Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
---
version: '3.8'
services:
nginx:
image: busybox:1.35.0-musl
entrypoint: ['echo', 'skipping', 'nginx']
volumes:
- defectdojo_media_unit_tests:/usr/share/nginx/html/media
uwsgi:
build:
target: django-unittests
entrypoint: ['/wait-for-it.sh', '${DD_DATABASE_HOST}:${DD_DATABASE_PORT}', '-t', '30', '--', '/app/docker/entrypoint-unit-tests-devDocker.sh']
volumes:
- '.:/app:z'
- "defectdojo_media_unit_tests:${DD_MEDIA_ROOT:-/app/media}"
environment:
DD_DEBUG: 'True'
DD_TEST_DATABASE_NAME: ${DD_TEST_DATABASE_NAME}
DD_DATABASE_NAME: ${DD_TEST_DATABASE_NAME}
DD_DATABASE_ENGINE: ${DD_DATABASE_ENGINE}
DD_DATABASE_HOST: ${DD_DATABASE_HOST}
DD_DATABASE_PORT: ${DD_DATABASE_PORT}
DD_DATABASE_USER: ${DD_DATABASE_USER}
DD_DATABASE_PASSWORD: ${DD_DATABASE_PASSWORD}
DD_CELERY_BROKER_SCHEME: 'sqla+sqlite'
DD_CELERY_BROKER_USER: ''
DD_CELERY_BROKER_PASSWORD: ''
DD_CELERY_BROKER_HOST: ''
DD_CELERY_BROKER_PORT: "-1"
DD_CELERY_BROKER_PATH: '/dojo.celerydb.sqlite'
DD_CELERY_BROKER_PARAMS: ''
celerybeat:
image: busybox:1.35.0-musl
entrypoint: ['echo', 'skipping', 'celery beat']
celeryworker:
image: busybox:1.35.0-musl
entrypoint: ['echo', 'skipping', 'celery worker']
initializer:
image: busybox:1.35.0-musl
entrypoint: ['echo', 'skipping', 'initializer']
mysql:
ports:
- target: ${DD_DATABASE_PORT}
published: ${DD_DATABASE_PORT}
protocol: tcp
mode: host
environment:
MYSQL_DATABASE: ${DD_TEST_DATABASE_NAME}
volumes:
- defectdojo_data_unit_tests:/var/lib/mysql
postgres:
ports:
- target: ${DD_DATABASE_PORT}
published: ${DD_DATABASE_PORT}
protocol: tcp
mode: host
environment:
POSTGRES_DB: ${DD_TEST_DATABASE_NAME}
volumes:
- defectdojo_postgres_unit_tests:/var/lib/postgresql/data
rabbitmq:
image: busybox:1.35.0-musl
entrypoint: ['echo', 'skipping', 'rabbitmq']
redis:
image: busybox:1.35.0-musl
entrypoint: ['echo', 'skipping', 'redis']
volumes:
defectdojo_data_unit_tests: {}
defectdojo_postgres_unit_tests: {}
defectdojo_media_unit_tests: {}