Deploy DefectDojo

Open-source vulnerability management: import 200+ scanners, dedupe, track

Deploy DefectDojo

Just deployed

/data

/app/media

/var/lib/postgresql/data

Deploy and Host DefectDojo on Railway

DefectDojo is an open-source DevSecOps and vulnerability management platform and an OWASP project. It imports results from more than 200 security tools (SAST, DAST, SCA, container and cloud scanners), deduplicates the findings, and tracks them across products, engagements and tests, with metrics, SLAs, risk acceptance and Jira integration.

About Hosting DefectDojo

DefectDojo is a Django application. A full deployment runs a database initializer, the uWSGI web server, a Celery worker for background jobs (deduplication, notifications, Jira sync) and Celery beat for scheduled tasks, backed by PostgreSQL and a Redis-compatible broker. This template runs all four DefectDojo processes in one service, built from a public GitHub repo that pins the official DefectDojo 3.5.103 image by digest. Railway provides Postgres, Redis, a volume for uploaded scan files and HTTPS. The first boot creates the schema and the admin user; later boots apply migrations automatically. The admin password, Django secret key and credential encryption key are generated for you.

Common Use Cases

  • Centralize findings from scanners such as Semgrep, Trivy, ZAP, Burp, Snyk, Dependency-Check and SonarQube in one place
  • Deduplicate and triage vulnerabilities across products and CI/CD pipelines through the REST API
  • Track remediation with SLAs, risk acceptance, reports and Jira integration for an AppSec team

Dependencies for DefectDojo Hosting

  • PostgreSQL (Railway Postgres)
  • Redis (Railway Redis) as the Celery broker and cache

Deployment Dependencies

Implementation Details

Sign in at your Railway domain as admin with the DD_ADMIN_PASSWORD value from the DefectDojo service's Variables tab. That password is only used on first boot; change it in the UI afterwards. Don't change DD_CREDENTIAL_AES_256_KEY after the first boot, because stored tool credentials are encrypted with it.

Optional settings, added on the DefectDojo service: DD_SITE_URL=https://YOUR-DOMAIN for a custom domain (allowed hosts and CSRF origins follow it), DD_EMAIL_URL for e-mail notifications, and DD_UWSGI_NUM_OF_PROCESSES or DD_CELERY_WORKER_CONCURRENCY for more capacity. New DefectDojo releases arrive as template updates from the repo.

Why Deploy DefectDojo 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 DefectDojo 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

More templates in this category

View Template
Rocky Linux
Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀

codestorm
51
View Template
Foundry Virtual Tabletop
Self-hosted virtual tabletop for role-playing games (license required)

Lucas
71
View Template
Letta Code Remote
Run a Letta Code agent 24/7. No inbound ports, just deploy.

Letta
52