Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing dagda envs to compose yml and expand readme #83

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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