Skip to content

Commit

Permalink
Add missing dagda envs to compose yml and expand readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jonrau1 committed Jun 23, 2020
1 parent 78715bd commit 5c481c7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -847,6 +847,16 @@ Execute the following commands in the root folder of **Dagda** and then, the **D
docker-compose up -d
```

Once the containers are up (`docker ps`) you can continue to use Dagda as before.
```bash
docker exec -it dagda python3 dagda.py vuln --init
docker exec -it dagda python3 dagda.py vuln --init_status
docker exec -it dagda python3 dagda.py check --docker_image jboss/wildfly
docker exec -it dagda python3 dagda.py history jboss/wildfly --id <your-id-here>
```

You can also check local images using Dagda that you have built `docker exec -it dagda python3 dagda.py check --docker_image alpine:latest` you can also check images that are in a repository such as Amazon's Elastic Container Registry (ECR) `docker exec -it dagda python3 dagda.py check --docker_image 123456789101.dkr.ecr.us-east-1.amazonaws.com/alpine:latest`.

## Internal workflows

Below, a 10,000 foot diagram about the **Dagda** internal workflows is shown:
Expand Down
5 changes: 4 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ services:
build: .
image: 3grander/dagda:0.8.0
container_name: dagda
environment:
- DAGDA_HOST=0.0.0.0
- DAGDA_PORT=5000
networks:
- mdb
entrypoint: python dagda.py start -s 0.0.0.0 -p 5000 -m vulndb -mp 27017
Expand All @@ -25,4 +28,4 @@ services:
- ./db:/data/db
networks:
mdb:
external: false
external: false

0 comments on commit 5c481c7

Please sign in to comment.