Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
38 lines (37 sloc) 1.09 KB
---
version: '3.7'
services:
nginx:
build:
context: ./
dockerfile: Dockerfile.busybox
image: defectdojo/defectdojo-busybox:${NGINX_VERSION:-latest}
uwsgi:
entrypoint: ['/wait-for-it.sh', 'mysql:3306', '-t', '30', '--', '/entrypoint-unit-tests-devDocker.sh']
volumes:
- '.:/app:z'
environment:
DD_DEBUG: 'on'
DD_TEST_DATABASE_NAME: ${DD_TEST_DATABASE_NAME:-test_defectdojo}
DD_DATABASE_NAME: ${DD_TEST_DATABASE_NAME:-test_defectdojo}
celerybeat:
environment:
DD_DATABASE_URL: ${DD_TEST_DATABASE_URL:-mysql://defectdojo:defectdojo@mysql:3306/test_defectdojo}
celeryworker:
environment:
DD_DATABASE_URL: ${DD_TEST_DATABASE_URL:-mysql://defectdojo:defectdojo@mysql:3306/test_defectdojo}
initializer:
environment:
DD_INITIALIZE: 'false'
mysql:
ports:
- target: 3306
published: 3306
protocol: tcp
mode: host
environment:
MYSQL_DATABASE: ${DD_TEST_DATABASE_NAME:-test_defectdojo}
volumes:
- defectdojo_data_unittest:/var/lib/mysql
volumes:
defectdojo_data_unittest: {}
You can’t perform that action at this time.