You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix#982
* update
* Handle Burp Collaborator issues
This is an enhancement in order to handle findings that contain Burp collaborator interactions which have additional request/response pairs and additional information that was normally ignored or breaking the importing of the report .
* Fix flake8 errors
* More accessibility fixes for top and side menu
* Made search button accessible
* tune uwsgi read timeout (troubleshoots 'upstream timed out' on POST import_scan_results)
* add a different docker-compose for dev and for release
* add a different docker-compose for dev and for release
* Update README.md
* cicd engagement: after delete return to cicd engagement view
* Updated DOCKER.md in dev branch to include info on checking versions for docker and docker-compose. People are getting tripped up by installs that aren't up to date
* Docker readme update
* Travis compose sourcing script
* Github template DB addition, docker sourcing
Copy file name to clipboardExpand all lines: DOCKER.md
+44-7Lines changed: 44 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,8 +6,23 @@ use the [Helm and Kubernetes](KUBERNETES.md) approach.
6
6
7
7
## Setup via Docker Compose
8
8
9
-
If you start your DefectDojo instance on Docker Compose for the first time, just
10
-
run `docker-compose up`.
9
+
To start your DefectDojo instance on Docker Compose for the first time, just
10
+
run:
11
+
12
+
```zsh
13
+
. docker/aliases_release.sh
14
+
docker-compose up
15
+
```
16
+
17
+
or
18
+
19
+
```zsh
20
+
docker-compose -f docker-compose_base.yml -f docker-compose_uwsgi-release.yml up
21
+
```
22
+
23
+
This command will run the application based on images commited on dockerhub (or the last images built locally). If you need to be more up to date, see "Build images locally" below
24
+
25
+
**NOTE:** Installing with docker-compose requires the latest version of docker and docker-compose - at least docker 18.09.4 and docker-compose 1.24.0. See "Checking Docker versions" below for version errors during running docker-compose up.
11
26
12
27
**NOTE:** Installing with docker-compose requires the latest version of docker and docker-compose - at least docker 18.09.4 and docker-compose 1.24.0. See "Checking Docker versions" below for version errors during running docker-compose up.
If you ran DefectDojo with compose before and you want to prevent the
26
47
initializer container from running again, define an environment variable
27
-
`DD_INITIALIZE=false` to prevent re-initialization.
48
+
DD_INITIALIZE=false to prevent re-initialization.
28
49
29
50
### Develop with Docker Compose
30
51
31
-
For developing the easiset way to make changes is to startup DefectDojo in debug by running`docker-compose -f docker-compose.yml up`. This starts the DefectDojo (uwsgi) container with manage.py and shares the local source directory so that changes to the code immediately restart the process.
52
+
For developing the easiset way to make changes is to startup DefectDojo in debug by running:
32
53
33
-
Navigate to the container directly, <http://localhost:8000>
54
+
```zsh
55
+
. docker/aliases_dev.sh
56
+
docker-compose up
57
+
```
58
+
59
+
or
60
+
61
+
```zsh
62
+
docker-compose -f docker-compose_base.yml -f docker-compose_uwsgi-dev.yml up
63
+
```
64
+
65
+
This starts the DefectDojo (uwsgi) container with manage.py and shares the local source directory so that changes to the code immediately restart the process.
34
66
35
-
Build the containers locally: `docker-compose build`
67
+
Navigate to the container directly, <http://localhost:8000>
36
68
37
69
The initializer container can be disabled by exporting: `export DD_INITIALIZE=false`
38
70
@@ -41,14 +73,19 @@ The initializer container can be disabled by exporting: `export DD_INITIALIZE=fa
41
73
Build the docker containers locally for testing purposes.
Copy file name to clipboardExpand all lines: PULL_REQUEST_TEMPLATE.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,4 +4,5 @@ When submitting a pull request, please make sure you have completed the followin
4
4
5
5
-[ ] Your code is flake8 compliant (DefectDojo's code isn't currently flake8 compliant, but we're trying to correct that.)
6
6
-[ ] If this is a new feature and not a bug fix, you've included the proper documentation in the ReadTheDocs documentation folder. https://github.com/DefectDojo/Documentation/tree/master/docs or provide feature documentation in the PR.
7
+
-[ ] Model changes should include the necessary migrations in the dojo/dd_migrations folder.
0 commit comments