File tree Expand file tree Collapse file tree
.vale/styles/config/vocabularies/DependencyTrack Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,6 +33,11 @@ BasedOnStyles =
3333[docs/reference/schemas/*.md]
3434BasedOnStyles =
3535
36+ # Tutorials use "we" voice and "will" to set expectations per Diataxis convention.
37+ [docs/tutorials/*.md]
38+ Google.We = NO
39+ Google.Will = NO
40+
3641# MkDocs abbreviation syntax (*[ABBR]: Definition) triggers false positives
3742# for the colon capitalization rule, since `: ` is a syntax delimiter.
3843[docs/includes/abbreviations.md]
Original file line number Diff line number Diff line change 4848Packagist
4949Percona
5050PgBouncer
51+ Podman
5152Postgres
5253Protobuf
5354SBOM
Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ that allows organizations to identify and reduce risk in the software supply cha
1111
1212## Getting started
1313
14+ Get Dependency-Track running locally in minutes with the [ quick start tutorial] ( tutorials/quickstart.md ) .
15+
1416Explore the documentation using the navigation tabs:
1517
1618- [ Tutorials] ( tutorials/index.md ) : step-by-step walkthroughs for common workflows.
Original file line number Diff line number Diff line change 1+ name : Dependency-Track
2+
3+ services :
4+ apiserver :
5+ image : ghcr.io/dependencytrack/hyades-apiserver:snapshot
6+ depends_on :
7+ postgres :
8+ condition : service_healthy
9+ deploy :
10+ resources :
11+ limits :
12+ memory : 2g
13+ environment :
14+ DT_DATASOURCE_URL : " jdbc:postgresql://postgres:5432/dtrack"
15+ DT_DATASOURCE_USERNAME : " dtrack"
16+ DT_DATASOURCE_PASSWORD : " dtrack"
17+ ports :
18+ - " 127.0.0.1:8080:8080"
19+ volumes :
20+ - " apiserver-data:/data"
21+ restart : unless-stopped
22+
23+ frontend :
24+ image : ghcr.io/dependencytrack/hyades-frontend:snapshot
25+ environment :
26+ API_BASE_URL : " http://localhost:8080"
27+ ports :
28+ - " 127.0.0.1:8081:8080"
29+ restart : unless-stopped
30+
31+ postgres :
32+ image : postgres:18-alpine
33+ environment :
34+ POSTGRES_DB : " dtrack"
35+ POSTGRES_USER : " dtrack"
36+ POSTGRES_PASSWORD : " dtrack"
37+ healthcheck :
38+ test : ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]
39+ interval : 5s
40+ timeout : 3s
41+ retries : 3
42+ volumes :
43+ - " postgres-data:/var/lib/postgresql/data"
44+
45+ volumes :
46+ apiserver-data : {}
47+ postgres-data : {}
Original file line number Diff line number Diff line change 1+ # Quick start
2+
3+ In this tutorial, we will get Dependency-Track running locally using Docker Compose
4+ and log in to the frontend for the first time.
5+
6+ ## What we need
7+
8+ - [ Docker] ( https://docs.docker.com/get-docker/ ) or [ Podman] ( https://podman.io/ )
9+ - [ Compose v2] ( https://docs.docker.com/compose/install/ )
10+
11+ ## Starting Dependency-Track
12+
13+ We download the Compose file and start the stack:
14+
15+ === ":fontawesome-brands-linux: Linux / :fontawesome-brands-apple: macOS"
16+
17+ ```shell
18+ curl -O https://raw.githubusercontent.com/DependencyTrack/docs/main/docs/tutorials/docker-compose.quickstart.yml
19+ docker compose -f docker-compose.quickstart.yml up
20+ ```
21+
22+ === ":fontawesome-brands-windows: Windows (PowerShell)"
23+
24+ ```powershell
25+ Invoke-WebRequest -Uri "https://raw.githubusercontent.com/DependencyTrack/docs/main/docs/tutorials/docker-compose.quickstart.yml" -OutFile "docker-compose.quickstart.yml"
26+ docker compose -f docker-compose.quickstart.yml up
27+ ```
28+
29+ This will pull the required images, initialize the database, and start all services.
30+
31+ ??? note "Compose file contents"
32+ ```yaml
33+ --8<-- "docs/tutorials/docker-compose.quickstart.yml"
34+ ```
35+
36+ ## Logging in
37+
38+ Once the stack is up, we open the frontend at ** < http://localhost:8081 > ** and log in
39+ with the default credentials:
40+
41+ | Username | Password |
42+ | ----------| ----------|
43+ | ` admin ` | ` admin ` |
44+
45+ !!! note
46+ Dependency-Track will ask us to change the password upon first login.
47+
48+ ## What's next
49+
50+ - [ Configuration] ( ../reference/configuration/application.md ) : Customize the deployment
51+ - [ Scaling] ( ../guides/administration/scaling.md ) : Scale for production workloads
Original file line number Diff line number Diff line change @@ -70,6 +70,9 @@ markdown_extensions:
7070- toc :
7171 permalink : true
7272- pymdownx.details
73+ - pymdownx.emoji :
74+ emoji_index : !!python/name:material.extensions.emoji.twemoji
75+ emoji_generator : !!python/name:material.extensions.emoji.to_svg
7376- pymdownx.snippets :
7477 auto_append :
7578 - docs/includes/abbreviations.md
You can’t perform that action at this time.
0 commit comments