---
title: "Deploy Dependency-Track"
description: "OWASP Dependency-Track 5.2.1: SBOM vulnerability and licence risk tracking"
category: "Other"
url: https://railway.com/deploy/dependency-track-1
---

# Deploy Dependency-Track

OWASP Dependency-Track 5.2.1: SBOM vulnerability and licence risk tracking

**[Deploy Dependency-Track on Railway](https://railway.com/template/dependency-track-1)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/dependency-track-1/manifest.json

- **Creator:** Agaz Self-Host
- **Category:** Other

## Template content

### Postgres https://devicons.railway.app/i/postgresql.svg

- **Image:** ghcr.io/railwayapp-templates/postgres-ssl:18

### apiserver https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/dependency-track.png

- **Source:** https://github.com/aalfath/dependency-track-railway-template
- **Health check:** /api/version

### Dependency-Track https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/dependency-track.png

- **Source:** https://github.com/aalfath/dependency-track-railway-template
- **Health check:** /healthz
- **Public domain:** Yes

## Documentation

# Deploy and Host Dependency-Track on Railway

Dependency-Track is an open-source OWASP platform for software supply chain risk. You upload Software Bills of Materials (CycloneDX SBOMs) for your projects, and it keeps tracking every component against vulnerability sources such as NVD, GitHub Advisories and OSV, plus your own licence and security policies.

## About Hosting Dependency-Track

Dependency-Track 5 has three parts: a Java API server, a web frontend and a PostgreSQL database that stores everything. This template deploys all three. Only the frontend has a public domain, and its nginx proxies `/api/` to the API server over Railway's private network, so the UI and the REST API share one URL. The API server keeps its encryption keys and upload files on a volume. Upstream creates an `admin` user with the password `admin`. This template replaces it with a generated password before the API server accepts any connections. After the first start, the API server mirrors the vulnerability databases in the background.

## Common Use Cases

* Upload SBOMs from CI pipelines and get alerts when a component in production gains a new known vulnerability
* Track open-source licence and policy violations across a whole portfolio of projects and versions
* Audit and triage findings, record VEX analysis decisions, and report risk metrics over time

## Dependencies for Dependency-Track Hosting

* PostgreSQL (Railway Postgres, included)
* A volume for the API server's data directory (included)

### Deployment Dependencies

* [OWASP Dependency-Track documentation](https://dependencytrack.github.io/docs/)
* [OWASP Dependency-Track 5.2.1 release](https://github.com/DependencyTrack/dependency-track/releases/tag/5.2.1)
* [Template source and changelog](https://github.com/aalfath/dependency-track-railway-template)

### Implementation Details

* Log in as `admin` with the `ADMIN_PASSWORD` value from the **apiserver** service's Variables tab. Then create your own users, or set up OIDC or LDAP with the upstream `DT_OIDC_*` / `DT_LDAP_*` variables.
* Upload SBOMs to `https://YOUR-DOMAIN/api/v1/bom` with an API key from a team under Administration → Access Management → Teams.
* The JVM heap is capped at 2 GB. Set `JAVA_HEAP` (for example `4g`) on the apiserver service to change it. Upstream suggests about 2 GB of memory for the API server and 4 GB or more for PostgreSQL in production.
* Both app services build from the template's GitHub repository, so new Dependency-Track releases reach you as Railway update notices. Read the changelog before applying one.

## Why Deploy Dependency-Track on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying Dependency-Track on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.


## Similar templates

- [Rocky Linux](https://railway.com/deploy/rocky-linux) — Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀
- [Foundry Virtual Tabletop](https://railway.com/deploy/X5tR6G) — Self-hosted virtual tabletop for role-playing games (license required)
- [Letta Code Remote](https://railway.com/deploy/letta-code-remote) — Run a Letta Code agent 24/7. No inbound ports, just deploy.

Open this page in a browser: https://railway.com/deploy/dependency-track-1
