File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -97,28 +97,16 @@ This approach also allows teams to perform self-assessment with changes tracked
9797You can also track everything in a repository with a ` docker compose ` setup.
9898
99991 . Ensure all files you want to track are present (` model.yaml ` , ` meta.yaml ` , etc.).
100- 2 . Create the compose.yaml. For example:
101- ``` yaml
102- # compose.yaml
103- services :
104- dsomm :
105- image : wurstbrot/dsomm:latest
106- container_name : dsomm
107- ports :
108- - " 8080:8080"
109- volumes :
110- # uncomment the following line to add a modified meta.yaml (see: https://github.com/devsecopsmaturitymodel/DevSecOps-MaturityModel#teams-and-groups)
111- # - ./meta.yaml:/srv/assets/YAML/meta.yaml
112- - ./model.yaml:/srv/assets/YAML/default/model.yaml
113- - ./team-evidence.yaml:/srv/assets/YAML/team-evidence.yaml
114- - ./team-progress.yaml:/srv/assets/YAML/team-progress.yaml
115- # add other files if needed
100+ 2 . Copy the upstream compose.yaml:
101+ ``` bash
102+ wget https://raw.githubusercontent.com/devsecopsmaturitymodel/DevSecOps-MaturityModel/refs/heads/main/compose.yaml
116103 ```
117- 3 . Start the service:
104+ 3 . Edit the file if necessary.
105+ 4 . Start the service:
118106 ``` bash
119107 docker compose up -d
120108 ```
121- 4 . Stop the service and delete the container:
109+ 5 . Stop the service and delete the container:
122110 ``` bash
123111 docker compose down
124112 ```
Original file line number Diff line number Diff line change 1+ services :
2+ dsomm :
3+ image : wurstbrot/dsomm:latest
4+ container_name : dsomm
5+ ports :
6+ - " 8080:8080"
7+ volumes :
8+ # # uncomment the following line to add a modified meta.yaml
9+ # # (see: https://github.com/devsecopsmaturitymodel/DevSecOps-MaturityModel#teams-and-groups)
10+ # - ./meta.yaml:/srv/assets/YAML/meta.yaml
11+ - ./model.yaml:/srv/assets/YAML/default/model.yaml
12+ - ./team-evidence.yaml:/srv/assets/YAML/team-evidence.yaml
13+ - ./team-progress.yaml:/srv/assets/YAML/team-progress.yaml
14+ # # add other files if needed
You can’t perform that action at this time.
0 commit comments