forked from DefectDojo/django-DefectDojo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.override.debug.yml
38 lines (37 loc) · 1 KB
/
docker-compose.override.debug.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
---
version: '3.7'
services:
uwsgi:
entrypoint: ['/wait-for-it.sh', 'mysql:3306', '-t', '30', '--', '/entrypoint-uwsgi-dev.sh']
volumes:
- '.:/app:z'
environment:
DD_DEBUG: 'True'
DD_ADMIN_USER: ${DD_ADMIN_USER:-admin}
DD_ADMIN_PASSWORD: ${DD_ADMIN_PASSWORD:-admin}
ports:
- target: ${DD_DEBUG_PORT:-3000}
published: ${DD_DEBUG_PORT:-3000}
protocol: tcp
mode: host
celeryworker:
volumes:
- '.:/app:z'
celerybeat:
volumes:
- '.:/app:z'
initializer:
volumes:
- '.:/app:z'
environment:
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'
mysql:
ports:
- target: 3306
published: 3306
protocol: tcp
mode: host