Deploy Dependency-Track
OWASP Dependency-Track 5.2.1: SBOM vulnerability and licence risk tracking
Just deployed
/var/lib/postgresql/data
Just deployed
/data
Dependency-Track
Just deployed
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
- OWASP Dependency-Track 5.2.1 release
- Template source and changelog
Implementation Details
- Log in as
adminwith theADMIN_PASSWORDvalue from the apiserver service's Variables tab. Then create your own users, or set up OIDC or LDAP with the upstreamDT_OIDC_*/DT_LDAP_*variables. - Upload SBOMs to
https://YOUR-DOMAIN/api/v1/bomwith an API key from a team under Administration → Access Management → Teams. - The JVM heap is capped at 2 GB. Set
JAVA_HEAP(for example4g) 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.
Template Content
Dependency-Track
aalfath/dependency-track-railway-template