Deploy DevGuard with Docker Compose

Run DevGuard locally using Docker Compose for testing and evaluation.

Prerequisites

  • Docker and Docker Compose installed

Deployment Steps

Download required files

Start the containers

Access DevGuard

Open http://localhost:3000 in your browser.

Important Notes

Email verification: No SMTP server is configured by default. During registration, skip email verification by clicking "Back".

To enable email delivery, you can additionally append the COURIER_SMTP_CONNECTION_URI environment-variable to the kratos service:

Vulnerability database: The API downloads the latest vulnerability database on first start. This may take several minutes. Vulnerability data and scan results won't be complete until the download finishes.

Adapting for Production

If you must use Docker Compose in production, change all default passwords:

  1. POSTGRES_PASSWORD in the postgresql service
  2. Database password in initdb.sql
  3. DSN in both kratos and kratos-migrate services
  4. Remove --dev flag from the kratos command

Next Steps

Have feedback? We want to hear from you!

Fields marked with * are required